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/taskdefs/javadoc Javadoc.java
Date Sun, 30 Dec 2001 00:00:20 GMT
donaldp     01/12/29 16:00:20

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc
                        Javadoc.java
  Log:
  Update to use new format of LogOutputStream where you pass in a Logger
  
  Revision  Changes    Path
  1.4       +5 -5      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/Javadoc.java
  
  Index: Javadoc.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/Javadoc.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Javadoc.java	23 Dec 2001 14:22:45 -0000	1.3
  +++ Javadoc.java	30 Dec 2001 00:00:20 -0000	1.4
  @@ -512,7 +512,7 @@
       {
           if( m_bootclasspath == null )
           {
  -            m_bootclasspath = new Path( getProject() );
  +            m_bootclasspath = new Path();
           }
           return m_bootclasspath.createPath();
       }
  @@ -522,7 +522,7 @@
       {
           if( m_classpath == null )
           {
  -            m_classpath = new Path( getProject() );
  +            m_classpath = new Path();
           }
           return m_classpath.createPath();
       }
  @@ -552,7 +552,7 @@
       {
           if( m_sourcePath == null )
           {
  -            m_sourcePath = new Path( getProject() );
  +            m_sourcePath = new Path();
           }
           return m_sourcePath.createPath();
       }
  @@ -838,8 +838,8 @@
   
           getLogger().info( "Javadoc execution" );
   
  -        JavadocOutputStream out = new JavadocOutputStream( this, Project.MSG_INFO );
  -        JavadocOutputStream err = new JavadocOutputStream( this, Project.MSG_WARN );
  +        final JavadocOutputStream out = new JavadocOutputStream( getLogger(), false );
  +        final JavadocOutputStream err = new JavadocOutputStream( getLogger(), true );
           Execute exe = new Execute();
           exe.setOutput( out );
           exe.setError( err );
  
  
  

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