ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: Issues with <java> vs <exec>
Date Fri, 14 May 2004 12:10:32 GMT
-----Original Message-----
> From: Robert Mark Bram [mailto:relaxedrob@optusnet.com.au]
> Sent: Friday, May 14, 2004 2:02 PM
> 

>>But the problem I found was the path separator in this form is *not* 
>>portable.. i.e. I am back to using ":" for Linux and ";" for Windows..
>>    
>>
One can use the property refid trick:
    <path id="x.path">
      <fileset dir="lib" includes="*.jar"/>
    </path>
    <property name="path" refid="x.path"/>
    <echo>path is '${path}'</echo>

or in ant 1.6.1

Peter


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


Mime
View raw message