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/optional/jdepend JDependTask.java
Date Sat, 29 Dec 2001 23:55:44 GMT
donaldp     01/12/29 15:55:44

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/jdepend
                        JDependTask.java
  Log:
  Update to use new format of LogOutputStream where you pass in a Logger
  
  Revision  Changes    Path
  1.13      +4 -4      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
  
  Index: JDependTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JDependTask.java	23 Dec 2001 14:22:46 -0000	1.12
  +++ JDependTask.java	29 Dec 2001 23:55:44 -0000	1.13
  @@ -205,7 +205,7 @@
       {
           if( _compileClasspath == null )
           {
  -            _compileClasspath = new Path( getProject() );
  +            _compileClasspath = new Path();
           }
           return _compileClasspath.createPath();
       }
  @@ -232,7 +232,7 @@
       {
           if( _sourcesPath == null )
           {
  -            _sourcesPath = new Path( getProject() );
  +            _sourcesPath = new Path();
           }
           return _sourcesPath.createPath();
       }
  @@ -328,8 +328,8 @@
           }
   
           final Execute exe = new Execute();
  -        exe.setOutput( new LogOutputStream( this, Project.MSG_INFO ) );
  -        exe.setError( new LogOutputStream( this, Project.MSG_WARN ) );
  +        exe.setOutput( new LogOutputStream( getLogger(), false ) );
  +        exe.setError( new LogOutputStream( getLogger(), true ) );
   
           exe.setCommandline( commandline.getCommandline() );
           if( getDir() != null )
  
  
  

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