Bug 17458 - OS X - bin/ant uses jars in wrong directory
Summary: OS X - bin/ant uses jars in wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Wrapper scripts (show other bugs)
Version: 1.5.2
Hardware: Macintosh All
: P3 normal (vote)
Target Milestone: 1.5.3
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-26 23:35 UTC by Dwayne Schultz
Modified: 2005-03-20 17:06 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dwayne Schultz 2003-02-26 23:35:57 UTC
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"
Comment 1 Stefan Bodewig 2003-03-07 08:44:34 UTC
patch applied, thanks.