ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/condition ConditionBase.java
Date Mon, 14 Jan 2002 00:02:44 GMT
stevel      02/01/13 16:02:44

  Modified:    src/main/org/apache/tools/ant/taskdefs/condition
                        ConditionBase.java
  Log:
  condition for files matching
  
  Revision  Changes    Path
  1.8       +8 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
  
  Index: ConditionBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ConditionBase.java	30 Nov 2001 12:05:27 -0000	1.7
  +++ ConditionBase.java	14 Jan 2002 00:02:44 -0000	1.8
  @@ -70,7 +70,7 @@
    * and the "container" conditions are in sync.
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.7 $
  + * @version $Revision: 1.8 $
    */
   public abstract class ConditionBase extends ProjectComponent {
       private Vector conditions = new Vector();
  @@ -168,6 +168,13 @@
        */
       public void addSocket(Socket s) {conditions.addElement(s);}
   
  +    /**
  +     * Add a &lt;filesmatch&gt; condition.
  +     *
  +     * @since 1.8
  +     */
  +    public void addFilesMatch(FilesMatch test) {conditions.addElement(test);}
  +    
       /**
        * Inner class that configures those conditions with a project
        * instance that need it.
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message