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/optional/ccm CCMCheck.java
Date Sun, 06 Jan 2002 02:22:24 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message