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 [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 5:33 AM
To: 'user@ant.apache.org'
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
>[1].

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.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Discover the Power of MetaSolv at http://www.metasolv.com

Subscribe to our Company Newsletter at http://www.metasolv.com/subscribe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to