ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: AW: AW: how to add a lib dependency to Ant classpath
Date Mon, 09 Jan 2006 13:32:23 GMT
Maybe you can force Maven to accept a -lib option.

Jan 

>-----Ursprüngliche Nachricht-----
>Von: hassan.h.sajjad@jpmchase.com 
>[mailto:hassan.h.sajjad@jpmchase.com] 
>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
>
>
>
>
>
>
><Jan.Materne@rzf.fin-nrw.de>
>09/01/2006 12:04
>Please respond to "Ant Users List"
>
> 
>        To:     <user@ant.apache.org>
>        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: hassan.h.sajjad@jpmchase.com
>>[mailto:hassan.h.sajjad@jpmchase.com]
>>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
>>
>>
>>
>>
>><Jan.Materne@rzf.fin-nrw.de>
>>09/01/2006 11:47
>>Please respond to "Ant Users List"
>>
>> 
>>        To:     <user@ant.apache.org>
>>        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: hassan.h.sajjad@jpmchase.com
>>>[mailto:hassan.h.sajjad@jpmchase.com]
>>>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
>>>
>>>
>>>
>>>
>>><Jan.Materne@rzf.fin-nrw.de>
>>>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: hassan.h.sajjad@jpmchase.com
>>>>[mailto:hassan.h.sajjad@jpmchase.com]
>>>>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: user-unsubscribe@ant.apache.org For
>>additional
>>>commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional 
>>commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional commands, e-mail: user-help@ant.apache.org
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message