Browse Source

Use adaptors logger rather than getting tasks logger via hackGetLogger

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270560 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
9739843b08
4 changed files with 4 additions and 8 deletions
  1. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java
  2. +1
    -3
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/rmic/SunRmic.java
  3. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/compilers/Javac12.java
  4. +1
    -3
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/rmic/SunRmic.java

+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java View File

@@ -34,7 +34,7 @@ public class Javac12 extends DefaultCompilerAdapter
getLogger().debug( "Using classic compiler" ); getLogger().debug( "Using classic compiler" );
Commandline cmd = setupJavacCommand( true ); Commandline cmd = setupJavacCommand( true );


OutputStream logstr = new LogOutputStream( m_attributes.hackGetLogger(), true );
OutputStream logstr = new LogOutputStream( getLogger(), true );
try try
{ {
// Create an instance of the compiler, redirecting output to // Create an instance of the compiler, redirecting output to


+ 1
- 3
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/rmic/SunRmic.java View File

@@ -31,9 +31,7 @@ public class SunRmic extends DefaultRmicAdapter


// Create an instance of the rmic, redirecting output to // Create an instance of the rmic, redirecting output to
// the project log // the project log
LogOutputStream logstr =
new LogOutputStream( getRmic().hackGetLogger(), true );

final LogOutputStream logstr = new LogOutputStream( getLogger(), true );
try try
{ {
Class c = Class.forName( "sun.rmi.rmic.Main" ); Class c = Class.forName( "sun.rmi.rmic.Main" );


+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/compilers/Javac12.java View File

@@ -34,7 +34,7 @@ public class Javac12 extends DefaultCompilerAdapter
getLogger().debug( "Using classic compiler" ); getLogger().debug( "Using classic compiler" );
Commandline cmd = setupJavacCommand( true ); Commandline cmd = setupJavacCommand( true );


OutputStream logstr = new LogOutputStream( m_attributes.hackGetLogger(), true );
OutputStream logstr = new LogOutputStream( getLogger(), true );
try try
{ {
// Create an instance of the compiler, redirecting output to // Create an instance of the compiler, redirecting output to


+ 1
- 3
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/rmic/SunRmic.java View File

@@ -31,9 +31,7 @@ public class SunRmic extends DefaultRmicAdapter


// Create an instance of the rmic, redirecting output to // Create an instance of the rmic, redirecting output to
// the project log // the project log
LogOutputStream logstr =
new LogOutputStream( getRmic().hackGetLogger(), true );

final LogOutputStream logstr = new LogOutputStream( getLogger(), true );
try try
{ {
Class c = Class.forName( "sun.rmi.rmic.Main" ); Class c = Class.forName( "sun.rmi.rmic.Main" );


Loading…
Cancel
Save