ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Fwd: trouble getting ant1.4.1 to work
Date Sun, 10 Feb 2002 22:57:45 GMT
--- bobnsandy@rpa.net wrote:
> Thanks for the help.  
> I found out what the problem was.  setting
> classpath=%ANT_HOME%\lib\*.jar did 
> not work. I had to list them all seperatly, ie:
> set
> classpath=%classpath%;%ANT_HOME%\lib\crimson.jar;%ANT_HOME%\lib\jaxp.jar
> Tedious, no?

Indeed -- and entirely unnecessary, if you're running Ant via one of the
supplied wrapper scripts (ie., running 'ant'), since it constructs a
classpath for you that includes all the jar files in ANT_HOME/lib.

It's better to run without any classpath set in the environment at all,
and instead, specify additional classpath elements either in the
buildfiles or in property files that get read in (that way, you don't need
to worry about whether everyone's environment is set up correctly).

Diane


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message