« Return to Thread: taskdef not receiving the classpath properly?

Re: taskdef not receiving the classpath properly?

by Steve Loughran :: Rate this Message:

Reply to Author | View in Thread

Kathryn Rivard wrote:
> Turns out upgrading to Ant 1.7.0 (and clearing out all the crud in Fedora 7
> that makes you use the rpm version) fixed the problem -- no taskdef
> classpath, no CLASSPATH environment variable necessary, it works exactly how
> I want it to.

It was probably the RPM version getting in ahead of anything else...we
changed the scripts in Ant1.7 so your own installation gets in there first.

1. Ant1.7 adds a -lib command to add new stuff to a lib directory
2. you can also stick jars into ~/.ant/lib, so that different users can
have stuff in the classpath, even with a root-only ANT_HOME/lib

-steve

--
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: taskdef not receiving the classpath properly?

LightInTheBox - Buy quality products at wholesale price