You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2003/01/28 11:25:49 UTC

[maven-bug] Created: (MAVEN-221) Compiles fail on some plattforms when importing classes from tools.jar

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-221


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-221
    Summary: Compiles fail on some plattforms when importing classes from tools.jar
       Type: Bug

     Status: Assigned
   Priority: Minor

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
  Component: core

   Assignee: Jason van Zyl
   Reporter: Bjørn Ola Smievoll

    Created: Tue, 28 Jan 2003 4:25 AM
    Updated: Tue, 28 Jan 2003 4:25 AM
Environment: Linux, JDK 1.4.1_01, Maven HEAD  / Darwin, JDK 1.4.1-beta, Maven HEAD

Description:
tools.jar has to be added as an explicit dependency in project.xml if java:compile is to find the classes, and (as I see it) there is no good way to do that, as it, among other things would bind you to an specific JDK release.

Another workaround would be adding tools.jar to $CLASSPATH, but that doesn't seem to help. Works out of the box on Darwin as the Apple JDK adds tools.jar implicitly to the classpath.

This might not be a real problem as I don't know the handling of tools.jar was intended to work.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.werken.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira