What dependency? Between the external lib and what? Dependencies between a (custom) task and external libs are specified via nested classpath elements.
Jan >-----Ursprüngliche Nachricht----- >Von: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Gesendet: Montag, 9. Januar 2006 12:10 >An: Ant Users List >Betreff: Re: AW: how to add a lib dependency to Ant classpath > >Hi Jan > >taskdef uses the classname attribute, whereas I have a JAR >dependency? How do I fix that. > >cheers >Hassan > > > > ><[EMAIL PROTECTED]> >09/01/2006 10:51 >Please respond to "Ant Users List" > > > To: <user@ant.apache.org> > cc: > Subject: AW: how to add a lib dependency to Ant >classpath > > >nested classpath of taskdef > >Jan > >>-----Ursprüngliche Nachricht----- >>Von: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] >>Gesendet: Montag, 9. Januar 2006 11:48 >>An: user@ant.apache.org >>Betreff: how to add a lib dependency to Ant classpath >> >>Hi >> >>Is there a way of adding a library dependency to ant classpath >>dynamically from within the Ant script. My limitation is I cannot add >>to the ANT_HOME/lib, as I'm using Ant via Maven, and therefore cannot >>use this option. >> >>Your help is much appreciated. >>Regs >>Hassan >> > >--------------------------------------------------------------------- >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]