Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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

          Activity

          Hide
          Jesse Glick added a comment -

          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

          Show
          Jesse Glick added a comment - 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
          Hide
          Jesse Glick added a comment -

          The javac bug is indeed fixed in JDK 7; the compiler plugin needs to be updated.

          Show
          Jesse Glick added a comment - The javac bug is indeed fixed in JDK 7; the compiler plugin needs to be updated.

            People

            • Assignee:
              Unassigned
              Reporter:
              Milos Kleint
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: