Since Ant 1.6 all JARs from ${user.home}/.ant/lib are included and you
can specify with -lib option additional directories. So maybe you would 
path the start script with an additional 
  -lib company/share/ant/add-libs

Jan

> -----Ursprüngliche Nachricht-----
> Von: Barnes, Michael [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 27. Oktober 2004 20:32
> An: 'Ant Users List'
> Betreff: RE: optional tasks
> 
> I guess it would help if I told you all that I am managing 
> 48+ projects and
> am trying to minize the impact of upgrades to any given project.
> 
> Thanks
> Mike
> 
> -----Original Message-----
> From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 27, 2004 2:22 PM
> To: Ant Users List
> Subject: RE: optional tasks
> 
> 
> i keep core optional tasks (ftp, junit) in the ant lib 
> folder, and keep 3rd
> party tasks (xdoclet, cactus, castor, etc) as part of my application. 
> 
> > -----Original Message-----
> > From: Barnes, Michael [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 27, 2004 2:17 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: optional tasks
> > 
> > 
> > I have several optional tasks that I need to use from other 
> projects.
> > 
> > What is the recommended way to include this in the ant start up:
> > 
> > the 2 solutions that I can think of currently is 
> > 
> > 1) copy all needed jars into the ant/lib 
> > I feel that this approach over time is harder to maintain as 
> > new libraries
> > are added and updates to existing libraries come out
> > 
> > 2) set up classpath to incorporate the optional libraries
> > I have not tried this approach yet, but feel that in the long 
> > term this is
> > easier to maintain.
> > 
> > Thanks for any pointers and help that can be provided.
> > 
> > Mike Barnes
> > 
> > 
> > **************************************************************
> > 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]
> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> 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]
> 

Reply via email to