ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17458] New: - OS X - bin/ant uses jars in wrong directory
Date Wed, 26 Feb 2003 23:35:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17458>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17458

OS X - bin/ant uses jars in wrong directory

           Summary: OS X - bin/ant uses jars in wrong directory
           Product: Ant
           Version: 1.5.2Beta1
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: dwayne@schultz.net


bin/ant has a special OS X section that sets $JIKESPATH to all of the jars in
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes.  This
should be $JAVA_HOME/../Classes.  CurrentJDK is a soft link to the system-wide
default JDK which isn't necessarily the same JDK found at $JAVA_HOME.

I suggest changing:

   OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"

to:

   OSXHACK="$JAVA_HOME/../Classes"

Mime
View raw message