Wow This add the yourjar.jar to yourold.classpath?
Thanks Eyal Knuplesch, Juergen wrote: > > > 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_go...@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_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-tp22670440p226 >>> 7 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-tp22670440p2267 >> 5295.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-tp22670440p22675450.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-tp22670440p22675996.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