donaldp 01/12/29 15:50:34 Modified: proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/unix Rpm.java Log: Update to use new format of LogOutputStream where you pass in a Logger Revision Changes Path 1.4 +4 -4 jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/unix/Rpm.java Index: Rpm.java =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/unix/Rpm.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Rpm.java 23 Dec 2001 06:34:24 -0000 1.3 +++ Rpm.java 29 Dec 2001 23:50:34 -0000 1.4 @@ -146,8 +146,8 @@ if( error == null && output == null ) { - outputstream = new LogOutputStream( this, Project.MSG_INFO ); - errorstream = new LogOutputStream( this, Project.MSG_WARN ); + outputstream = new LogOutputStream( getLogger(), false ); + errorstream = new LogOutputStream( getLogger(), true ); } else { @@ -164,7 +164,7 @@ } else { - outputstream = new LogOutputStream( this, Project.MSG_INFO ); + outputstream = new LogOutputStream( getLogger(), false ); } if( error != null ) { @@ -179,7 +179,7 @@ } else { - errorstream = new LogOutputStream( this, Project.MSG_WARN ); + errorstream = new LogOutputStream( getLogger(), true ); } }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>