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/java/org/apache/antlib/xml XMLValidateTask.java
Date Sat, 26 Jan 2002 02:08:59 GMT
donaldp     02/01/25 18:08:59

  Modified:    proposal/myrmidon/src/java/org/apache/antlib/xml
                        XMLValidateTask.java
  Log:
  Update tasks to reflect movement of logic from objects to service/utility objects
  
  Revision  Changes    Path
  1.15      +2 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/xml/XMLValidateTask.java
  
  Index: XMLValidateTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/xml/XMLValidateTask.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- XMLValidateTask.java	20 Jan 2002 17:32:59 -0000	1.14
  +++ XMLValidateTask.java	26 Jan 2002 02:08:58 -0000	1.15
  @@ -25,6 +25,7 @@
   import org.apache.tools.ant.types.FileSet;
   import org.apache.tools.ant.types.Path;
   import org.apache.tools.ant.types.PathUtil;
  +import org.apache.tools.ant.types.ScannerUtil;
   import org.xml.sax.EntityResolver;
   
   import org.xml.sax.InputSource;
  @@ -223,7 +224,7 @@
           for( int i = 0; i < size; i++ )
           {
               final FileSet fileSet = (FileSet)m_filesets.get( i );
  -            final DirectoryScanner scanner = fileSet.getDirectoryScanner();
  +            final DirectoryScanner scanner = ScannerUtil.getDirectoryScanner( fileSet );
               final String[] files = scanner.getIncludedFiles();
   
               for( int j = 0; j < files.length; j++ )
  
  
  

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