ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Harris <mark.har...@uk.easynet.net>
Subject RE: Classpath reference
Date Mon, 11 Apr 2005 09:32:40 GMT
>>     <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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message