ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@marmot.at
Subject [patch]vssget.java
Date Tue, 23 Jan 2001 15:28:20 GMT
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.

Mime
View raw message