ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Can I use path as property
Date Fri, 26 Feb 2010 06:17:07 GMT
${toString:base.path}

But you dont "reference" the path with toString or <pathconvert>.
You get a property which lists all path elements. 


Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Murray, Mike [mailto:mbm@ptc.com] 
>Gesendet: Freitag, 26. Februar 2010 01:25
>An: Ant Users List
>Betreff: RE: Can I use path as property
>
>You can if you convert it to a property.  See
>http://ant.apache.org/manual/CoreTasks/pathconvert.html
>
>-----Original Message-----
>From: Dalecki, Janusz [mailto:jdalecki@tycoint.com] 
>Sent: Thursday, February 25, 2010 5:09 PM
>To: user@ant.apache.org
>Subject: Can I use path as property
>
>Hi,
>Can I reference the path like structure the same way as property?
>For example :
><path id="base.path">
>     <fileset dir="lib">
>        <include name="**/*.jar"/>
>      </fileset>
>    </path>
>Can I refer base.path vis ${base.path} somewhere later in my any build
>file.
> 
>Cheers,
>Janusz
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message