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_go...@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_go...@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-tp22670440p2267
> 0440.html Sent from the Ant - Users mailing list archive at 
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional 
> commands, e-mail: user-h...@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional 
> commands, e-mail: user-h...@ant.apache.org
> 
> 
> 

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


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


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

Reply via email to