ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Singh, Arti" <>
Subject RE: Classpath reference
Date Mon, 11 Apr 2005 16:04:43 GMT
hi all,
             I am an ant newbie with a silly question.I have a  set of jar files that I need
to get compiled.Should I unzip each jar file to compile It??OR can I get ant to automatically
unzip each jar while compile it

-----Original Message-----
From: Mark Harris []
Sent: Monday, April 11, 2005 5:33 AM
To: ''
Subject: RE: Classpath reference

>>     <path id="classpath">
>>         <pathelement location="/myjar.jar"/>
>>         <pathelement location="/myotherjar.jar"/>
>>         <pathelement location="/my3rdjar.jar"/>
>>     </path> 
>>     <target name="test">
>>         <junit printsummary="no">
>>             <classpath>
>                 <path refid="classpath"/>
>>                 <pathelement
>> location="/myadditionaljar.jar"/>
>>             </classpath>
>> ... etc...
>Fore more information on reusing paths using refid see

This was half the solution. The other half was to not use the id
"classpath", but to call it something else, e.g. "compile.classpath".

Thanks to all for their assistance.


To unsubscribe, e-mail:
For additional commands, e-mail:

Discover the Power of MetaSolv at

Subscribe to our Company Newsletter at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message