Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 91214 invoked from network); 25 Jan 2001 22:27:31 -0000 Received: from ocs170.open-channels.com (HELO ocsmail1.open-channels.com) (64.14.95.170) by h31.sny.collab.net with SMTP; 25 Jan 2001 22:27:31 -0000 Received: by OCSMAIL1 with Internet Mail Service (5.5.2650.21) id ; Thu, 25 Jan 2001 12:01:46 -0500 Message-ID: <0D614F19020CD411A47100508B9534867B8A03@OCSMAIL1> From: Vineet Bhatia To: "'ant-dev@jakarta.apache.org'" Subject: RE: [patch]MSVSSGET.java - 2nd try :-( Date: Thu, 25 Jan 2001 12:01:45 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ah gotcha!! i was using ant-1.2. i wonder how the bug sneaked in to the cvs-version?? - vineet -----Original Message----- From: mpoeschl@marmot.at [mailto:mpoeschl@marmot.at] Sent: Thursday, January 25, 2001 12:13 PM To: ant-dev@jakarta.apache.org Subject: RE: [patch]MSVSSGET.java - 2nd try :-( in my get-source task there is: base.dir is defined as: it works fine with ant-1.2 but not with the cvs-version... in debug output i found '-GL path' martin Quoting Vineet Bhatia : > hello martin, > > i have been using the GL commandline option for the GET command and it > seems > to be doing fine. > The localpath parameter is coming as -GLpath. > How I am using is - I have a master list (a CSV file) consisting of the > files and their versions I need to get from VSS. > I read that file and use the VSSGET task for each line in that file. The > file has entries like this - > > ..... > SourceFileName.java,version number,vss path,local path,Build number as > VSS > label > src1.java,2,/some/vss/path,d:\some\local\path,1001 > ..... > ..... > > So it works for me.I wonder if there is anything you are doing > different? > > - Vineet > > > -----Original Message----- > From: mpoeschl@marmot.at [mailto:mpoeschl@marmot.at] > Sent: Thursday, January 25, 2001 6:01 AM > To: ant-dev@jakarta.apache.org > Subject: [patch]MSVSSGET.java - 2nd try :-( > > > ok, once again ... here is my patch: > > problem: > the localpath parameter doesn't work > -GL path => must be -GLpath !!!! > > martin > > 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/25 10:37:40 > @@ -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); > } > } > > @@ -314,7 +313,7 @@ > m_AutoResponse = response; > } > } > - > + > /** > * Checks the value set for the autoResponse. > * if it equals "Y" then we return -I-Y > @@ -322,12 +321,12 @@ > * otherwise we return -I > */ > public void getAutoresponse(Commandline cmd) { > - > + > if ( m_AutoResponse == null) { > cmd.createArgument().setValue(FLAG_AUTORESPONSE_DEF); > } else if ( m_AutoResponse.equalsIgnoreCase("Y")) { > cmd.createArgument().setValue(FLAG_AUTORESPONSE_YES); > - > + > } else if ( m_AutoResponse.equalsIgnoreCase("N")) { > cmd.createArgument().setValue(FLAG_AUTORESPONSE_NO); > }else { > > The command completed successfully. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: ant-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: ant-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: ant-dev-help@jakarta.apache.org