Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Labels:None
Description
annotation processors which load non-Java resources from the sourcepath, will currently get only the src/main/java folder.
Unfortunately just adding src/main/resources to -sourcepath does not suffice, due to a bug in javac:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6929404
see MCOMPILER-98 for more
Issue Links
- is depended upon by
-
MCOMPILER-98
-sourcepath not passed to javac
-
javac bug claimed to be fixed in JDK 7.
Can be worked around in the processor, e.g.: http://hg.netbeans.org/main/diff/e97fb471102d/openide.filesystems/src/org/openide/filesystems/annotations/LayerBuilder.java