ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: How to get a absolute path to a file
Date Thu, 27 Nov 2003 04:59:58 GMT
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


Mime
View raw message