Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356176

Summary: Dawn src-gen folders cause SVN-related warnings
Product: [Modeling] EMF Reporter: Caspar D. <caspar_d>
Component: cdo.dawnAssignee: Martin Fluegge <martin.fluegge>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 Flags: martin.fluegge: review+
Version: 4.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch v1 none

Description Caspar D. CLA 2011-08-30 06:57:34 EDT
I get a few dozen warnings of the following type:

The resource is a duplicate of src-gen/org/eclipse/.svn/entries and was not copied to the output folder
entries
Java Problem
/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf.ui/src/org/eclipse/.svn

The problem is that Eclipse is unaware that the .svn folders in the src-gen
tree are not sources.

My request is for the .svn folders to be explicitly excluded from the
projects involved. I'll attach a patch in a minute that does this.

Btw, I'm aware that probably not everyone gets these warnings. It seems to
depend on one's SVN client, one's SVN front-end (Subclipse or Subversive),
and/or the way one checks out the project (i.e. command line or through your
Eclipse integration tool). Perhaps with a by-the-book setup as per our Wiki
page, the warnings don't appear...
Comment 1 Caspar D. CLA 2011-08-30 06:59:55 EDT
Created attachment 202403 [details]
Patch v1
Comment 2 Caspar D. CLA 2011-08-30 07:02:36 EDT
> My request is for the .svn folders to be explicitly excluded from
> the projects involved.

What I meant was: for them to be excluded from the *sources*.
See the Java build path after applying the patch.
Comment 3 Martin Fluegge CLA 2011-09-20 13:02:01 EDT
Seems to be o.k. Please commit.
Comment 4 Caspar D. CLA 2011-09-20 22:42:38 EDT
Thanks.

Committed revision 9187.
Comment 5 Eike Stepper CLA 2012-09-21 07:17:51 EDT
Closing.