[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Auto generating java files how to stop

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-12-12 23:35:44 CET

On Dec 12, 2007 11:31 PM, Reynolds, Brad [contractor]
<Brad.Reynolds@chevron.com> wrote:
>
>
>
> Hi,
>
> I set up some subversion folders as follows
>
> myWebApp
> - custom
> - source
> - com
> …
> WEB-INF
> - classes
> - com
> …
>
> Now, I have other files I had to add that are not version controlled,
> including class files that go in the classes folder. I am not version
> controlling the class files for my source. Those are being generated when I
> build.
>
> Why does subversion see my class files and then say that the java files are
> missing? This is SO lame. I thought subversion is just a folder, so why is
> it concerning itself with the fact that I don't have my source in the same
> folder? When I do an update, it pushes all my source files from
> "custom/src" to "WEB-INF/classes" next to the class files I generate when I
> compile. This is completely unasked for. I have no source in subversion
> under WEB-INF AT ALL.
>
> It's like it is looking at my folder structure and saying "Oh look, you have
> your source files up here. That must be a mistake, we'll duplicate them
> down here in this folder for you." It is creating all kinds of havoc and
> conflicts.
>
> What can I do?

Fix your build system instead of blame Subversion. Subversion doesn't
do anything it's not told to do. If your build system copies the
source files *and* the .svn directory in the source director, then
it's your build system creating this havoc.

HTH,

Erik.
Received on Wed Dec 12 23:36:08 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.