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/rmic SunRmic.java
Date Thu, 14 Feb 2002 11:03:52 GMT
donaldp     02/02/14 03:03:52

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/rmic
                        SunRmic.java
  Log:
  Write to system.out by default because that gets redirectted to task anyhow
  
  Revision  Changes    Path
  1.10      +1 -3      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/rmic/SunRmic.java
  
  Index: SunRmic.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/rmic/SunRmic.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SunRmic.java	6 Jan 2002 01:50:42 -0000	1.9
  +++ SunRmic.java	14 Feb 2002 11:03:52 -0000	1.10
  @@ -12,7 +12,6 @@
   import java.lang.reflect.Constructor;
   import java.lang.reflect.Method;
   import org.apache.myrmidon.api.TaskException;
  -import org.apache.tools.ant.taskdefs.exec.LogOutputStream;
   import org.apache.tools.ant.types.Commandline;
   
   /**
  @@ -31,13 +30,12 @@
   
           // Create an instance of the rmic, redirecting output to
           // the project log
  -        final LogOutputStream logstr = new LogOutputStream( getLogger(), true );
           try
           {
               Class c = Class.forName( "sun.rmi.rmic.Main" );
               Constructor cons = c.getConstructor( new Class[]
               {OutputStream.class, String.class} );
  -            Object rmic = cons.newInstance( new Object[]{logstr, "rmic"} );
  +            Object rmic = cons.newInstance( new Object[]{System.out, "rmic"} );
   
               Method doRmic = c.getMethod( "compile",
                                            new Class[]{String[].class} );
  
  
  

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