The answer used to be to use attribute reverseLoader="true" on your taskdef defines the task. This tells it to search your classpath before ${ANT_HOME}/lib - however this attribute is now deprecated. This is a good opportunity to discuss the new method of doing this (as I was never really clear on what replaced this now deprecated feature).
Ben -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 6:36 AM To: Ant Users List; [EMAIL PROTECTED] Subject: RE: Classpath issue Chris, The CC does not use the ANT shipped with it (CC). The problem is the fact that ANT has an old version of 'a' library while I need a newer one Unless I missed a point in your answer ... ? \T, --- "Erskine, Chris" <[EMAIL PROTECTED]> wrote: > Rather than using ant within CC, use the antscript attribute on the ant > task. This will allow you to then use the version of ant that you > install on your machine rather than the version that ships with CC. > > Chris Erskine > > EDS Consulting Services > Colorado Springs, CO > > Phone: 719-265-5962 > Cell: 719-640-6488 > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 4:14 AM > To: user@ant.apache.org > Subject: Classpath issue > > > Dear, > > The ant used by Cruisecontrole has a few library installed in the > ${ANT_HOME}/lib > There is a library that is of a very old version while I'd need a more > recent version of the task. > My project file defines its own path for ALL the targets it uses but ANT > uses the library in its > ${ANT_HOME}/lib before using the one defined in the task definition. > > Can I circumvent that behavior ? > How ? > > BTW, removing the old library from ${ANT_HOME}/lib is not an option. > > > \T, > > -- > Any fool can write code that a computer can understand. > Good programmers write code that humans can understand. > Martin Fowler > T. : +32 (0)2 742 05 94 > M. : +32 (0)497 44 68 12 > @ : [EMAIL PROTECTED] > Do you skype too ... ? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Any fool can write code that a computer can understand. Good programmers write code that humans can understand. Martin Fowler T. : +32 (0)2 742 05 94 M. : +32 (0)497 44 68 12 @ : [EMAIL PROTECTED] Do you skype too ... ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]