ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daisy Guo" <Daisy....@quest.com>
Subject Question about available task
Date Fri, 03 Oct 2003 14:33:36 GMT
I'm using Ant version 1.5.4, and found the following behave differently
-- the second one also searches ${dir.path}'s parent directory.  Is this
the expected behavior?
 
1.   <available file="${dir.path}/${file.name}" property="file.present"
/>

2.    <available file="${file.name}" property="file.present">
           <filepath path="${dir.path}" />
       </available>
 
Thanks.
 
Daisy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message