donaldp     01/12/22 18:54:25

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec
                        ExecMetaData.java
  Log:
  Made ExecMetaData take a Properties object for environment data rather than 
native format.
  
  Revision  Changes    Path
  1.3       +5 -4      
jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/ExecMetaData.java
  
  Index: ExecMetaData.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/ExecMetaData.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ExecMetaData.java 2001/12/22 12:36:07     1.2
  +++ ExecMetaData.java 2001/12/23 02:54:25     1.3
  @@ -8,6 +8,7 @@
   package org.apache.myrmidon.framework.exec;
   
   import java.io.File;
  +import java.util.Properties;
   
   /**
    * This class holds meta data that is used to launch a native executable.
  @@ -16,7 +17,7 @@
    * <code>ExecManager</code> to actually launch the native executable.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
  - * @version $Revision: 1.2 $ $Date: 2001/12/22 12:36:07 $
  + * @version $Revision: 1.3 $ $Date: 2001/12/23 02:54:25 $
    */
   public class ExecMetaData
   {
  @@ -40,7 +41,7 @@
        * process if <code>isEnvironmentAdditive=true</code> else it specifies
        * full environment.
        */
  -    private String[] m_environment;
  +    private Properties m_environment;
   
       /**
        * If this variable is true then then the environment specified is
  @@ -57,7 +58,7 @@
        * a null environment and an additive environment.
        */
       public ExecMetaData( final String[] command,
  -                         final String[] environment,
  +                         final Properties environment,
                            final File workingDirectory,
                            final boolean environmentAdditive )
       {
  @@ -92,7 +93,7 @@
           return m_command;
       }
   
  -    public String[] getEnvironment()
  +    public Properties getEnvironment()
       {
           return m_environment;
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to