Maybe you can force Maven to accept a -lib option. Jan
>-----Ursprüngliche Nachricht----- >Von: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Gesendet: Montag, 9. Januar 2006 14:19 >An: Ant Users List >Betreff: Re: AW: AW: AW: how to add a lib dependency to Ant classpath > >Thanks Jan, it works if I run Ant standalone, but same problem >when I run in the Maven env. I think this is more of a Maven >support issue rather than Ant's. > >Regs >-Has > > > > > > ><[EMAIL PROTECTED]> >09/01/2006 12:04 >Please respond to "Ant Users List" > > > To: <[email protected]> > cc: > Subject: AW: AW: AW: how to add a lib >dependency to Ant classpath > > >place them in ${user.home}/.ant/lib > >Jan > >>-----Ursprüngliche Nachricht----- >>Von: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] >>Gesendet: Montag, 9. Januar 2006 12:59 >>An: Ant Users List >>Betreff: Re: AW: AW: how to add a lib dependency to Ant classpath >> >>Hi >> >>I'm using scriptdef task in my Ant script. This needs bsf.jar >to be in >>the Ant classpath. As I cannot add bsf.jar in the >ANT_HOME/lib, I have >>downloaded it at somewhere other on my hard drive. Now I need to add >>this jar to Ant's classpath before executing the scriptdef task in my >>build.xml. >>Therefore, I'm looking for a mechanism in Ant that allows to do this >>from within the script. >> >>Pls let me know if there's still any ambiguity left and I'll >endeavour >>to explain. >> >>Thanks for your help, again. >> >>-Has >> >> >> >> >><[EMAIL PROTECTED]> >>09/01/2006 11:47 >>Please respond to "Ant Users List" >> >> >> To: <[email protected]> >> cc: >> Subject: AW: AW: how to add a lib dependency to >>Ant classpath >> >> >>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: <[email protected]> >>> 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: [email protected] >>>>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] >> >> >> >> > >--------------------------------------------------------------------- >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]
