ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Perforce Optional Tasks
Date Thu, 20 Dec 2001 17:48:03 GMT
--- James Bullington <> wrote:
> Did you remember to put these files in your class path?  When I first
> started to use optional.jar,  this was my mistake.
> i.e. you need:
> CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar

You shouldn't need to do this -- the wrapper-script for Ant (ie., the
thing that actually executes when you say 'ant' on the command-line)
builds a classpath to pass on the 'java' command-line (that it in turn
executes) that includes all the jar-files in $ANT_HOME/lib.

I run Ant without any environment CLASSPATH defined at all.



Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at
or bid at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message