ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSS.java
Date Sat, 22 Dec 2001 22:15:49 GMT
donaldp     01/12/22 14:15:49

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/vss
                        MSVSS.java
  Log:
  Remove Execute.setEnvironment(String[]) as it is not needed.
  
  Revision  Changes    Path
  1.9       +2 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
  
  Index: MSVSS.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MSVSS.java	2001/12/22 12:57:39	1.8
  +++ MSVSS.java	2001/12/22 22:15:49	1.9
  @@ -9,6 +9,7 @@
   
   import java.io.IOException;
   import org.apache.myrmidon.api.TaskException;
  +import org.apache.myrmidon.framework.exec.Environment;
   import org.apache.tools.ant.Project;
   import org.apache.tools.ant.Task;
   import org.apache.tools.ant.taskdefs.exec.Execute;
  @@ -224,7 +225,7 @@
                   }
                   newEnv[ env.length ] = "SSDIR=" + m_serverPath;
   
  -                exe.setEnvironment( newEnv );
  +                exe.setEnvironment( Environment.createEnvVars( newEnv )  );
               }
   
               exe.setWorkingDirectory( getBaseDirectory() );
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message