ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thai Thanh Ha <tha...@psv.com.vn>
Subject RE: How to get a absolute path to a file
Date Thu, 27 Nov 2003 05:20:42 GMT

 Thanks a lot! I can do it now :)

-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
Sent: Thursday, November 27, 2003 12:00 PM
To: Ant Users List
Subject: Re: How to get a absolute path to a file


On Thu, 27 Nov 2003 03:45 pm, Thai Thanh Ha wrote:
>
>  But is there a better way to get an absolute path to checkstyle.xml file?
> This task doesn't include file name in the property.
>

Use a property with a location attribute rather than a value attribute. This

sets the property to the absolute location of the file.

http://ant.apache.org/manual/CoreTasks/property.html

Conor
 



---------------------------------------------------------------------
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