jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Compiler Plugin
  • MCOMPILER-122

-sourcepath shall include resources

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major 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

Bug - A problem which impairs or prevents the functions of the product. MCOMPILER-98 -sourcepath not passed to javac

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jesse Glick added a comment - 27/Sep/10 3:33 PM

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 - 27/Sep/10 3:33 PM 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
Permalink
Jesse Glick added a comment - 24/Oct/11 12:39 PM

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

Show
Jesse Glick added a comment - 24/Oct/11 12:39 PM The javac bug is indeed fixed in JDK 7; the compiler plugin needs to be updated.

People

  • Assignee:
    Unassigned
    Reporter:
    Milos Kleint
Vote (2)
Watch (2)

Dates

  • Created:
    28/Mar/10 2:46 PM
    Updated:
    24/Oct/11 12:39 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.