ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Lucas <j...@stonecottage.com>
Subject [Patch] Cvs.java
Date Sun, 01 Oct 2000 06:25:06 GMT
I recently updated Ant to the latest version in CVS and it seems that a
change might have affected some previous functionality, namely the
ability to checkout more than one module at a time.  Below is the fix I
did to make it work again.  

By only setting the value in the commandline argument, the Cvs task is
restricted to only doing things to one package.

josh



Index: Cvs.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Cvs.java,v
retrieving revision 1.10
diff -u -r1.10 Cvs.java
--- Cvs.java    2000/09/11 10:33:49     1.10
+++ Cvs.java    2000/10/01 06:16:26
@@ -101,7 +101,7 @@
         toExecute.addArguments(cmd.getCommandline());
 
        if (pack != null) {
-            toExecute.createArgument().setValue(pack);
+            toExecute.createArgument().setLine(pack);
        }
 
         Execute exe = new Execute(new LogStreamHandler(this,
Project.MSG_INFO,

Mime
View raw message