vgritsenko    2003/03/11 07:29:13

  Modified:    tools/src/anttasks XConfToolTask.java
  Log:
  Reduce verboseness of this task as it is stable enough now.
  
  Revision  Changes    Path
  1.2       +4 -4      cocoon-2.1/tools/src/anttasks/XConfToolTask.java
  
  Index: XConfToolTask.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/src/anttasks/XConfToolTask.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XConfToolTask.java        9 Mar 2003 00:11:45 -0000       1.1
  +++ XConfToolTask.java        11 Mar 2003 15:29:13 -0000      1.2
  @@ -78,7 +78,7 @@
               final String file = 
this.project.resolveFile(this.configuration).getCanonicalPath();
   
               // load xml
  -            System.out.println("Reading: " + file);
  +            // System.out.println("Reading: " + file);
               final Document configuration = builder.parse((new 
File(file)).toURL().toExternalForm());
   
               // process recursive
  @@ -87,7 +87,7 @@
                   System.out.println("Writing: " + file);
                   transformer.transform(new DOMSource(configuration), new 
StreamResult(file));
               } else {
  -                System.out.println("No Changes: " + file);
  +                // System.out.println("No Changes: " + file);
               }
           } catch (TransformerException e) {
               throw new BuildException("TransformerException: " + e);
  @@ -159,7 +159,7 @@
           String test = component.getDocumentElement().getAttribute("unless");
           if (test != null && test.length() > 0 &&
                   XPathAPI.selectNodeList(root, test).getLength() != 0) {
  -            System.out.println("Skipping: " + file);
  +            // System.out.println("Skipping: " + file);
               return false;
           } else {
               // Test if component wants us to remove a list of nodes first
  
  
  

Reply via email to