[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: Reynolds, Brad [contractor] <Brad.Reynolds_at_chevron.com>
Date: 2007-12-12 23:57:33 CET

Erik,

I am using eclipse out of the box. If you checkout into eclipse, having
your source in a designated folder, then compiling does this? Is this a
know issue with using subversion and eclipse together?

-----Original Message-----
From: Erik Huelsmann [mailto:ehuels@gmail.com]
Sent: Wednesday, December 12, 2007 4:36 PM
To: Reynolds, Brad [contractor]
Cc: users@subversion.tigris.org
Subject: Re: Auto generating java files how to stop

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 12 23:57:59 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.