Browse Source

Use concreate class LogStreamHandler rather than interface ExeuteStreamHandler

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270350 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
afd87bafa3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java

+ 1
- 2
proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java View File

@@ -13,7 +13,6 @@ import org.apache.myrmidon.api.AbstractTask;
import org.apache.myrmidon.api.TaskException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.taskdefs.exec.Execute;
import org.apache.tools.ant.taskdefs.exec.ExecuteStreamHandler;
import org.apache.tools.ant.taskdefs.exec.LogStreamHandler;
import org.apache.tools.ant.types.Commandline;
import org.apache.tools.ant.types.EnvironmentData;
@@ -149,7 +148,7 @@ public class Cvs
final EnvironmentData env = buildEnvironment();

//FIXME:
final ExecuteStreamHandler streamhandler =
final LogStreamHandler streamhandler =
new LogStreamHandler( null, Project.MSG_INFO, Project.MSG_WARN );

final Execute exe = new Execute( streamhandler, null );


Loading…
Cancel
Save