ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45081] <available> condition doesn't pay attention to whether a file is readable.
Date Wed, 13 Aug 2008 15:58:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45081


Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Stefan Bodewig <bodewig@apache.org>  2008-08-13 08:58:37 PST ---
I've added <readable/> and <writable/> selectors with svn revision 685593 - if
you replace FileProvider with FileResource it should compile against 1.7.x as
well.

These could be used inside of a isfileselected condition, something like

<condition ...>
  <isfileselected file="file-i-am-interested-in">
    <readable/>
  <isfileselected>
</condition>

a bit more verbose than readable/writable conditions but this way we open up
more opportunities for the code to be useful.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message