ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types FileSet.java
Date Sun, 27 Jan 2002 09:37:35 GMT
donaldp     02/01/27 01:37:35

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/types
                        FileSet.java
  Log:
  Extend the framework fileset
  
  Revision  Changes    Path
  1.19      +1 -75     jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types/FileSet.java
  
  Index: FileSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types/FileSet.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- FileSet.java	26 Jan 2002 02:07:36 -0000	1.18
  +++ FileSet.java	27 Jan 2002 09:37:35 -0000	1.19
  @@ -25,10 +25,8 @@
    * @author <a href="mailto:umagesh@rediffmail.com">Magesh Umasankar</a>
    */
   public class FileSet
  +    extends org.apache.myrmidon.framework.FileSet
   {
  -    private File m_dir;
  -    private PatternSet m_patternSet = new PatternSet();
  -    private boolean m_useDefaultExcludes = true;
       private boolean m_isCaseSensitive = true;
   
       /**
  @@ -39,80 +37,8 @@
           m_isCaseSensitive = isCaseSensitive;
       }
   
  -    /**
  -     * Sets whether default exclusions should be used or not.
  -     */
  -    public void setDefaultexcludes( final boolean useDefaultExcludes )
  -    {
  -        m_useDefaultExcludes = useDefaultExcludes;
  -    }
  -
  -    public void setDir( final File dir )
  -        throws TaskException
  -    {
  -        m_dir = dir;
  -    }
  -
  -    /**
  -     * Sets the set of exclude patterns. Patterns may be separated by a comma or
  -     * a space.
  -     *
  -     * @param excludes the string containing the exclude patterns
  -     */
  -    public void setExcludes( final String excludes )
  -    {
  -        m_patternSet.setExcludes( excludes );
  -    }
  -
  -    /**
  -     * add a name entry on the exclude list
  -     */
  -    public void addExclude( final Pattern pattern )
  -    {
  -        m_patternSet.addExclude( pattern );
  -    }
  -
  -    /**
  -     * add a name entry on the include list
  -     */
  -    public void addInclude( final Pattern pattern )
  -    {
  -        m_patternSet.addInclude( pattern );
  -    }
  -
  -    public void addPatternSet( final PatternSet set )
  -    {
  -        m_patternSet.append( set );
  -    }
  -
  -    /**
  -     * Sets the set of include patterns. Patterns may be separated by a comma or
  -     * a space.
  -     *
  -     * @param includes the string containing the include patterns
  -     */
  -    public void setIncludes( final String includes )
  -    {
  -        m_patternSet.setIncludes( includes );
  -    }
  -
  -    public final PatternSet getPatternSet()
  -    {
  -        return m_patternSet;
  -    }
  -
       public boolean isCaseSensitive()
       {
           return m_isCaseSensitive;
  -    }
  -
  -    public boolean useDefaultExcludes()
  -    {
  -        return m_useDefaultExcludes;
  -    }
  -
  -    public File getDir()
  -    {
  -        return m_dir;
       }
   }
  
  
  

--
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