You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@locus.apache.org on 2000/09/11 12:33:54 UTC

cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Cvs.java

bodewig     00/09/11 03:33:52

  Modified:    src/main/org/apache/tools/ant/taskdefs Cvs.java
  Log:
  CVS wouldn't work if you used the command attribute to specify
  additional arguments (like "update -d -P").
  Reported by:         Roger Bj�revall <ro...@ideit.com>
  
  Revision  Changes    Path
  1.10      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Cvs.java
  
  Index: Cvs.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Cvs.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Cvs.java	2000/08/03 11:25:11	1.9
  +++ Cvs.java	2000/09/11 10:33:49	1.10
  @@ -97,7 +97,7 @@
           if (quiet) {
               toExecute.createArgument().setValue("-q");
           }
  -        toExecute.createArgument().setValue(command);
  +        toExecute.createArgument().setLine(command);
           toExecute.addArguments(cmd.getCommandline());
   
   	if (pack != null) {