ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject AW: ****SPAM**** Re: AW: ****SPAM**** Re: AW: ****SPAM**** Adding specific jar to classpath
Date Tue, 24 Mar 2009 07:53:12 GMT

This is possible of course!
Just this way e.g.:

        <path id="yourclasspath">
          <pathelement location="somewhere/lib/yourjar.jar" />
          <path refid="yourold.classpath"/>
        </path>


		    <javac classpathref="yourclasspath"
		           memorymaximumsize="900M"
		           fork="true"
.....

Could you show us a example of what you want to do and what you have in the moment? 


-- 
Jürgen Knuplesch                    
-----Ursprüngliche Nachricht-----
Von: eyalg1972 [mailto:eyal_goren@bmc.com] 
Gesendet: Dienstag, 24. März 2009 08:43
An: user@ant.apache.org
Betreff: ****SPAM**** Re: AW: ****SPAM**** Re: AW: ****SPAM**** Adding specific jar to classpath


Hi,

The problem is that I want to add to the classpath it a jar, not replace it...

Eyal


Knuplesch, Juergen wrote:
> 
> Hi,
> 
> 
> Of course.
> The javac task has a nested classspath element and classpath attribute 
> and you can add a classpath reference...
> Read the Ant doku about javac to learn how to do it:
> http://ant.apache.org/manual/
> 
> 
>  Greetings
> 
> 
> -- 
> Jürgen Knuplesch              
> 
> -----Ursprüngliche Nachricht-----
> Von: eyalg1972 [mailto:eyal_goren@bmc.com]
> Gesendet: Dienstag, 24. März 2009 08:26
> An: user@ant.apache.org
> Betreff: ****SPAM**** Re: AW: ****SPAM**** Adding specific jar to 
> classpath
> 
> 
> Hi,
> 
> I would like to add it to the javac classpath...
> 
> But - without touching the ant directories, just using the ant 
> commands, is it possible?
> 
> Eyal
> 
> 
> Knuplesch, Juergen wrote:
>> 
>> Hello
>> 
>> What do you want to do with this jar?
>> Add it to Ant or use it to javac sth. Or else?
>> 
>> To integrate a jar on the classpath of Ant it is enough to put the 
>> jar in the lib dir of Ant.
>> 
>> 
>> Greetings
>> -- 
>> Jürgen Knuplesch                    
>> -----Ursprüngliche Nachricht-----
>> Von: eyalg1972 [mailto:eyal_goren@bmc.com]
>> Gesendet: Montag, 23. März 2009 23:14
>> An: user@ant.apache.org
>> Betreff: ****SPAM**** Adding specific jar to classpath
>> 
>> 
>> Hi,
>> 
>> Does anyone knows how to add a specific jar to the classpath?
>> 
>> I know that there is a property- additional.classpath, but I don't 
>> know how to use it...
>> 
>> Eyal
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-specific-jar-to-classpath-tp22670440p226
>> 7 0440.html Sent from the Ant - Users mailing list archive at 
>> Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> 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
>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/Adding-specific-jar-to-classpath-tp22670440p2267
> 5295.html Sent from the Ant - Users mailing list archive at 
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 

--
View this message in context: http://www.nabble.com/Adding-specific-jar-to-classpath-tp22670440p22675450.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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