peterreilly 2005/03/03 09:28:13 Modified: docs/manual/CoreTasks Tag: ANT_16_BRANCH conditions.html src/main/org/apache/tools/ant/types Tag: ANT_16_BRANCH defaults.properties Added: src/main/org/apache/tools/ant/taskdefs/condition Tag: ANT_16_BRANCH IsFileSelected.java Log: sync Revision Changes Path No revision No revision 1.20.2.3 +37 -2 ant/docs/manual/CoreTasks/conditions.html Index: conditions.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/conditions.html,v retrieving revision 1.20.2.2 retrieving revision 1.20.2.3 diff -u -r1.20.2.2 -r1.20.2.3 --- conditions.html 9 Feb 2004 22:12:07 -0000 1.20.2.2 +++ conditions.html 3 Mar 2005 17:28:13 -0000 1.20.2.3 @@ -326,9 +326,44 @@ <td valign="top" align="center">No</td> </tr> </table> - + <h4>isfileselected</h4> + <p> + Test whether a file passes an embedded selector. + </p> + <p> + This condition was added in Apache Ant 1.6.3. + </p> + <table border="1" cellpadding="2" cellspacing="0"> + <tr> + <td valign="top"><b>Attribute</b></td> + <td valign="top"><b>Description</b></td> + <td align="center" valign="top"><b>Required</b></td> + </tr> + <tr> + <td valign="top">file</td> + <td valign="top"> + The file to check if is passes the embedded selector. + </td> + <td valign="top" align="center">Yes</td> + </tr> + <tr> + <td valign="top">basedir</td> + <td valign="top">The base directory to use for name based selectors. It this is not set, + the project's basedirectory will be used.</td> + <td valign="top" align="center">No</td> + </tr> + </table> + <p> + Example usage: + </p> + <blockquote> + <pre> + <isfileselected file="a.xml"> + <date datetime="06/28/2000 2:02 pm" when="equal"/> + </isfileselected> + </pre></blockquote> <hr> -<p align="center">Copyright © 2001-2004 The Apache Software +<p align="center">Copyright © 2001-2005 Apache Software Foundation. All rights Reserved.</p> </body> No revision No revision 1.19.2.6 +1 -0 ant/src/main/org/apache/tools/ant/types/defaults.properties Index: defaults.properties =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/defaults.properties,v retrieving revision 1.19.2.5 retrieving revision 1.19.2.6 diff -u -r1.19.2.5 -r1.19.2.6 --- defaults.properties 17 Dec 2004 14:09:28 -0000 1.19.2.5 +++ defaults.properties 3 Mar 2005 17:28:13 -0000 1.19.2.6 @@ -34,3 +34,4 @@ propertyset=org.apache.tools.ant.types.PropertySet assertions=org.apache.tools.ant.types.Assertions concatfilter=org.apache.tools.ant.filters.ConcatFilter +isfileselected=org.apache.tools.ant.taskdefs.condition.IsFileSelected No revision No revision 1.2.2.1 +0 -0 ant/src/main/org/apache/tools/ant/taskdefs/condition/IsFileSelected.java
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]