ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSSGET.java
Date Tue, 28 Nov 2000 13:43:25 GMT
bodewig     00/11/28 05:43:25

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/vss
                        MSVSSGET.java
  Log:
  Enable <vssget> to use arguments that contain spaces.
  
  Submitted by:   Matthew Geis <matthew.geis@instill.com>
  
  Revision  Changes    Path
  1.4       +8 -4      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java
  
  Index: MSVSSGET.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MSVSSGET.java	2000/08/01 13:47:03	1.3
  +++ MSVSSGET.java	2000/11/28 13:43:24	1.4
  @@ -199,7 +199,8 @@
                   project.log("Created dir: " + dir.getAbsolutePath());
               }
   
  -            cmd.createArgument().setValue(FLAG_OVERRIDE_WORKING_DIR + m_LocalPath);
  +            cmd.createArgument().setValue(FLAG_OVERRIDE_WORKING_DIR);
  +            cmd.createArgument().setValue(m_LocalPath);
           }
       }
   
  @@ -294,11 +295,14 @@
       public void getVersionCommand(Commandline cmd) {
   
           if ( m_Version != null) {
  -            cmd.createArgument().setValue(FLAG_VERSION + m_Version);
  +            cmd.createArgument().setValue(FLAG_VERSION);
  +            cmd.createArgument().setValue(m_Version);
           } else if ( m_Date != null) {
  -            cmd.createArgument().setValue(FLAG_VERSION_DATE + m_Date);
  +            cmd.createArgument().setValue(FLAG_VERSION_DATE);
  +            cmd.createArgument().setValue(m_Date);
           } else if (m_Label != null) {
  -            cmd.createArgument().setValue(FLAG_VERSION_LABEL + m_Label);
  +            cmd.createArgument().setValue(FLAG_VERSION_LABEL);
  +            cmd.createArgument().setValue(m_Label);
           }
       }
   
  
  
  

Mime
View raw message