views:

75

answers:

1

hi,

I imported a java project into eclipse which had .svn folders in it. The project did on build properly and it gave errors. But, once I deleted the .svn folders from the project, eclipse did not show any errors. What is the reason ?

+1  A: 

May be, as pointed out in this thread, you need to add .svn to the list of things you don't want copied to the output folder.

Window->Preferences->Java->Compiler->Building->Output folder

Indeed, when I added added ".svn" to the list of "Filtered Resources", the problem went away.
I had two source directories: src and test, which both were in SVN.
Apparently Eclipse realized that src/.svn/entries and test/.svn/entries are duplicates and it complained.

VonC