On Dec 12, 2007, at 16:57, Reynolds, Brad [contractor] wrote:
> I am using eclipse out of the box. If you checkout into eclipse,
> your source in a designated folder, then compiling does this?
> Is this a know issue with using subversion and eclipse together?
Erik meant that whatever build process you have programmed for your
software may be copying the .svn directories in each directory as
well. Doing so is an error and you should fix your build system not
to do so.
Or maybe you are manually or automatically copying entire directories
from the working copy from one place to another, using normal
filesystem commands? If so, you must not do that either, because each
directory remembers where in the repository it came from, via the
contents of the hidden .svn directory.
If you check out a fresh working copy from the repository and try
your build, do you still see the problem?
>> I set up some subversion folders as follows
>> - custom
>> - source
>> - com
>> - 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
>> 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
>> 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.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Dec 13 00:18:56 2007