You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/08 15:33:51 UTC
[jira] Closed: (MAVEN-221) Compiles fail on some plattforms when importing classes from tools.jar
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/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: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Fix Fors:
1.0-rc2
Assignee:
Reporter: Bjørn Ola Smievoll
Created: Tue, 28 Jan 2003 4:25 AM
Updated: Thu, 8 Jul 2004 9:30 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.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org