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 & 3
  • MNG-5187

Trailing Root Directory is Added to sourcepath (and classpath)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 3.0.3
  • Fix Version/s: None
  • Component/s: Bootstrap & Build
  • Labels:
    None
  • Complexity:
    Intermediate

Description

The javac command generated by Maven contains a trailing colon or semi-colon depending on the OS. For example:

-sourcepath <project>\src\main\java;

which is equivalent to:

-sourcepath <project>\src\main\java;\

Therefore, if a source file exists in the root directory under its project structure, the source file will be compiled.

(Similarly, a trailing colon or semi-colon is added to the classpath.)

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Clint Shank
Vote (0)
Watch (0)

Dates

  • Created:
    31/Oct/11 8:39 AM
    Updated:
    31/Oct/11 8:39 AM
  • 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.