ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <>
Subject [patch] OSX Hack
Date Sun, 06 May 2001 23:25:06 GMT
Index: ant
RCS file: /home/cvs/jakarta-ant/src/script/ant,v
retrieving revision 1.3
diff -r1.3 ant
>   # OSX hack to make Ant work with jikes
>   if [ -d ${OSXHACK} ] ; then
>     for i in ${OSXHACK}/*.jar
>     do
>     done
>   fi

Sorry for the bad wrapping, but I wanted to get approval before checking
this patch in. The problem is that under OSX, if you type:

./ant <target>

AND you are using Jikes as your compiler (build.compiler=jikes), then it
will puke because the classes.jar (and the rest of the .jar files in that
directory) is essentially not found in the classpath unless people put the
above hack into their .cshrc or something. By putting the above hack into
the ant shell script, then people don't have to do it themselves.

I know it is a hack, but it is cased to only apply to OSX people.

So, can I get a +1 to commit this?



If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous

View raw message