You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/01/06 03:22:24 UTC

cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/ccm CCMCheck.java

donaldp     02/01/05 18:22:24

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/ccm
                        CCMCheck.java
  Log:
  cleaned
  
  Revision  Changes    Path
  1.5       +3 -6      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/ccm/CCMCheck.java
  
  Index: CCMCheck.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/ccm/CCMCheck.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CCMCheck.java	23 Dec 2001 06:31:54 -0000	1.4
  +++ CCMCheck.java	6 Jan 2002 02:22:24 -0000	1.5
  @@ -9,7 +9,6 @@
   
   import java.io.File;
   import org.apache.myrmidon.api.TaskException;
  -import org.apache.tools.ant.Project;
   import org.apache.tools.ant.types.Commandline;
   
   /**
  @@ -111,8 +110,6 @@
           throws TaskException
       {
           Commandline commandLine = new Commandline();
  -        Project aProj = getProject();
  -        int result = 0;
   
           // build the command line from what we got the format is
           // ccm co /t .. files
  @@ -122,11 +119,11 @@
   
           checkOptions( commandLine );
   
  -        result = run( commandLine );
  +        final int result = run( commandLine, null );
           if( result != 0 )
           {
  -            String msg = "Failed executing: " + commandLine.toString();
  -            throw new TaskException( msg );
  +            final String message = "Failed executing: " + commandLine.toString();
  +            throw new TaskException( message );
           }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>