Jon,
I'm neither an expert on OSX, nor Jikes so maybe not best placed to answer
your question but I will give you my opinion.
Firstly, perhaps you should qualify the test with some form of "$OSTYPE"
check. I'm not familiar with how you do that on OSX.
The other thing to consider is that jikes uses a JIKESPATH variable and it
maybe more appropriate to set this up instead.
Not much help - sorry. Either way, I'm +1 on you going ahead.
Conor
----- Original Message -----
From: "Jon Stevens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 9:25 AM
Subject: [patch] OSX Hack
> Index: ant
> ===================================================================
> RCS file: /home/cvs/jakarta-ant/src/script/ant,v
> retrieving revision 1.3
> diff -r1.3 ant
> 83a84,93
> >
> > # OSX hack to make Ant work with jikes
> >
>
OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Cl
a
> sses"
> > if [ -d ${OSXHACK} ] ; then
> > for i in ${OSXHACK}/*.jar
> > do
> > LOCALCLASSPATH=$LOCALCLASSPATH:$i
> > 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?
>
> thanks,
>
> -jon
>
> --
> If you come from a Perl or PHP background, JSP is a way to take
> your pain to new levels. --Anonymous
> <http://jakarta.apache.org/velocity/ymtd/ymtd.html>
>