See http://jakarta.apache.org/ant/manual/sysclasspath.html on how to do
that...

Mvgr,
Martin

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Rall
> Sent: Friday, March 01, 2002 21:47
> To: Turbine Developers List
> Subject: Re: FWD: [torque-3.0-dev] Ant Tasks and build.xml
>
>
> Andrew <[EMAIL PROTECTED]> writes:
>
> > Build/Running with Torque and ANT 1.4.1 as of 3/01/2002. Ant
> Tasks in 1.4.x by
> > default loads from the system.classpath BEFORE the Task
> classlist. This causes
> > problems in environments where older versions of dependencies
> already exist in
> > the java environment. Especially when ANT is run from an IDE
> (ex: netbeans).
> >
> > Temporary solution: modify build.xml to force Ant to use a reverse order
> > classloader with tasks. This can be done by adding
> 'reverseloader="true"' to
> > the taskdef tags. I have verified this works with ANT 1.4.1
> >
> > I am not sure how you guys want to handle this - whether
> mentioning in torque
> > docs, changing it in src, or suppling two build.xml files with torque.
>
> IMO, Torque tasks shouldn't use the system classpath at all.  They
> should only use the classpath configured by their calling build.xml.
> Thoughts?
>
>
> --
> 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]>

Reply via email to