ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Corbin <>
Subject Re: Ant Task and paths
Date Sun, 23 Feb 2003 17:09:16 GMT
Jesse Stockall wrote:

> On Sunday, February 23, 2003, at 11:31 AM, David Corbin wrote:
>>> If you use a relative path then Ant will resolve the path based on 
>>> what ${basedir} is set to. i.e.
>> How?  Do you mean ant will do that using the FileUtils you 
>> mentioned?  Otherwise, I don't see how Ant will know that a given 
>> attribute/property is a filesystem reference.
> Ant 'knows' it's a file system reference because the task requires it, 
> for example in the <jar> task the 'destdir' attribute must be a 
> reference to a file, the setter in is 'setDestfile(File 
> jarFile)' If you specify something that can't be resolved to a file, 
> the task will fail.

Ah! That's my mistake.  I need to convert mine from Strings to Files.


View raw message