DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42735>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42735





------- Additional Comments From [EMAIL PROTECTED]  2007-06-25 10:01 -------
Thanks for the report and especially thanks for
the build file.

Available has changed in ant 1.7.0, in ant 1.6.5 and lower
available would search all the parent directories for
a file. This was not expected behavior, 
see: http://issues.apache.org/bugzilla/show_bug.cgi?id=39549
the question was raised on the dev list and it was decided
to change the code.
This however has introduced a bug, with the filelist.

I have made a fix, however, exist9 will still not
find a file.

the dir layout is:
 ./subDir/list.xml

the filepath is subDir/subsubDir
since subDir/subsubDir/list.xml does not exist, the test
will fail.

One can use the (ant 1.7.0) attribute seachparents to get
the old behavior:
   <condition property="exist9" value="true">
      <available searchparents="yes" file="list.xml" 
filepath="subDir/subSubDir" >
      </available>
    </condition>
 


- for example one
may look for a file named "etc" 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to