views:

31

answers:

2

I have an SVN repository checked out and have an Eclipse project set up around it. When Eclipse builds it seems to be unsetting the svn:ignore '*' inside the output directory and also causing the source files to be copied into the output folders. Removing the directory and updating a new one from the repository fixes it until Eclipse builds again but it is annoying to have to do that every time I want to commit.

I have Eclipse set up to ignore .svn directories as described here: http://www.damonkohler.com/2009/07/make-eclipse-ignore-svn-directories.html

Example svn status:

    S   classes
...
?       classes/dojo/Main$1.class
?       classes/dojo/Main$2.class
!       classes/dojo/Preferences.java
!       classes/dojo/Deck.java
...
A: 

Is this like in this thread?

It looks like you use external build process which copies existing .svn folders from the source folders to the corresponding output folders (I think in this way because built-in Eclipse builder ignores team private resources like .svn).
This mean that in order to avoid the problem you should exclude .svn folders from your build process.

VonC
A: 

The best way to handle this is to install a Eclipse Plugin for SVN usage like subclipse or Subversive.

khmarbaise