You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mp...@marmot.at on 2001/01/23 16:28:20 UTC

[patch]vssget.java

the overreide local path option does not work becaus the task generates:
-GL /path

it must be:
-GL/path to work

here is my patch:

Index: ./src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java,v
retrieving revision 1.6
diff -u -r1.6 MSVSSGET.java
--- ./src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java	2001/01/03 14:18:46	1.6
+++ ./src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java	2001/01/23 15:08:20
@@ -200,8 +200,7 @@
                 project.log("Created dir: " + dir.getAbsolutePath());
             }
 
-            cmd.createArgument().setValue(FLAG_OVERRIDE_WORKING_DIR);
-            cmd.createArgument().setValue(m_LocalPath);
+            cmd.createArgument().setValue(FLAG_OVERRIDE_WORKING_DIR + m_LocalPath);
         }
     }
 
The command completed successfully.