Bug 49710 - Subversion directories treated as resources
Summary: Subversion directories treated as resources
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 3.0 M7   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 12:54 EST by Arne Burmeister CLA
Modified: 2004-01-27 11:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.