axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/test Wsdl2javaTestSuite.java
Date Tue, 23 Oct 2001 11:39:26 GMT
dims        01/10/23 04:39:26

  Modified:    java/src/org/apache/axis/wsdl/test Wsdl2javaTestSuite.java
  Log:
  Log output of ANTactivity.
  
  Revision  Changes    Path
  1.21      +9 -0      xml-axis/java/src/org/apache/axis/wsdl/test/Wsdl2javaTestSuite.java
  
  Index: Wsdl2javaTestSuite.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/test/Wsdl2javaTestSuite.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Wsdl2javaTestSuite.java	2001/10/22 13:35:21	1.20
  +++ Wsdl2javaTestSuite.java	2001/10/23 11:39:26	1.21
  @@ -69,6 +69,8 @@
   import org.apache.tools.ant.taskdefs.Delete;
   import org.apache.tools.ant.taskdefs.Javac;
   import org.apache.tools.ant.types.Path;
  +import org.apache.tools.ant.DefaultLogger;
  +import org.apache.tools.ant.BuildLogger;
   
   import java.io.BufferedInputStream;
   import java.io.BufferedOutputStream;
  @@ -137,6 +139,13 @@
               testSuiteProject.addReference("Wsdl2javaTestSuite", testSuiteProject);
               testSuiteProject.setBasedir("./");
               testSuiteProject.setDefaultTarget(Wsdl2javaTestSuite.COMPILE_TASK);
  +            
  +            /* Setup the logger */
  +            BuildLogger logger = new DefaultLogger();
  +            testSuiteProject.addBuildListener(logger);
  +            logger.setMessageOutputLevel(Project.MSG_INFO);
  +            logger.setOutputPrintStream(System.out);
  +            logger.setErrorPrintStream(System.err);
   
               /* Set up the default task (the compile task).  We add the "javac" target,
                * and all the options for it.
  
  
  

Mime
View raw message