I have the ant.jar in CLASSPATH so that I do not have to modify the ant shell script that comes with ant. Ant does an excellent job of finding everything except it's own jar file! My classpath now has only two entries in it: "." and ant.jar. This works wonderfully for me.
If there is a good (not just hacking the supplied ant shell script) way to help ant find it's own jar file, then I'd be pleased to hear it. Simon ----------------------------------------------------------------- Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 >-----Original Message----- >From: Diane Holt [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 17, 2002 11:19 AM >To: Ant Users List >Subject: RE: Ant doesn't recognized tasks on Mac OS X > > >--- "Chappell, Simon P" <[EMAIL PROTECTED]> wrote: >> I have been very successful running ant on OS X. >> >> My setup is: OS X 10.1.2, Bash 2.0.5 & ant 1.4.1 >> >> The important thing I found with ant was to ensure that the JAVA_HOME >> and ANT_HOME environment variables were correctly set and >then to ensure >> that the ant.jar was in the CLASSPATH. > >Just curious... why would you need to have CLASSPATH set with >ant.jar in >it? The 'ant' script puts the jars in $ANT_HOME/lib into the >classpath it >constructs -- does that not work for OS X? > >Diane > >===== >([EMAIL PROTECTED]) > > > >__________________________________________________ >Do You Yahoo!? >Send FREE video emails in Yahoo! Mail! >http://promo.yahoo.com/videomail/ > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
