Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.2
-
Fix Version/s: 2.2
-
Component/s: None
-
Labels:None
Description
Eclipse has the notion of "derived resources", which are normally excluded from many dialogs like the "Open Resource" dialog (Ctrl-Shift-R). Without this marker, all those dialogs would be cluttered with unrelevant files (which can't be edited anyway because they will be overwritten on the next build).
Unfortunately, unlike Eclipse itself, "mvn eclipse:eclipse" does not mark generated files as derived. A good candidate would be the entire contents of the "target" directory.
Issue Links
- is duplicated by
-
MECLIPSE-469
CLONE -mark contents of "target" directory as derived
-
the "derived resource" marker is not applied by eclipse on the output directory. Such marker is added by eclipse itself when a java file is compiled to a class file or any file is copied from the src to the target directory.
This means that project resources are marked as derived when compiling from eclipse, but not when the project is built by maven (since maven would have to mark each single file, and this has to be done in the .metadata directory in the eclipse workspace).