Bug 49710

Summary: Subversion directories treated as resources
Product: [Eclipse Project] JDT Reporter: Arne Burmeister <Arne.Burmeister>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M7   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Arne Burmeister CLA 2004-01-08 12:54:13 EST
I'm not sure about the Product/Component choosen, but on building a project with
source under subversion control, all the ".svn" directories are containing
source directories result in "The resource is a duplicate of" warnings. Unlike
CVS directories they are not ignored. May be a type of bug #8840?
Comment 1 Philipe Mulet CLA 2004-01-27 09:04:36 EST
Go to Window>Preferences>Java>Compiler>Build path>Filtered Resources>
and append '*.svn' to have them excluded during the build process.

CVS resources uses a different approach to achieve this, by basically hiding 
all CVS info from regular resource management. This is achieved by the source 
control component when integrating tightly with Eclipse. 

Closing
Comment 2 Arne Burmeister CLA 2004-01-27 11:00:22 EST
You are right, but the different behaviour is a little bit confusing, isn't it?
Why not set CVS directories as default filtered Resources so anybody may find it
(and remove it as a not-CVS user)?!

I think it would also simplify the code ;-)
Comment 3 Philipe Mulet CLA 2004-01-27 11:33:03 EST
CVS doesn't know Java, neither does Java know about CVS... tricky issue.
But I believe that SVN integration should use the same approach as CVS.