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/java/org/apache/aut/nativelib/impl DefaultExecManager.java
Date Sat, 26 Jan 2002 04:17:27 GMT
donaldp     02/01/25 20:17:27

  Modified:    proposal/myrmidon/src/java/org/apache/aut/nativelib/impl
                        DefaultExecManager.java
  Log:
  antDir -> homeDir
  
  Revision  Changes    Path
  1.4       +7 -7      jakarta-ant/proposal/myrmidon/src/java/org/apache/aut/nativelib/impl/DefaultExecManager.java
  
  Index: DefaultExecManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/aut/nativelib/impl/DefaultExecManager.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultExecManager.java	21 Jan 2002 11:44:24 -0000	1.3
  +++ DefaultExecManager.java	26 Jan 2002 04:17:27 -0000	1.4
  @@ -29,7 +29,7 @@
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    * @author <a href="mailto:thomas.haas@softwired-inc.com">Thomas Haas</a>
  - * @version $Revision: 1.3 $ $Date: 2002/01/21 11:44:24 $
  + * @version $Revision: 1.4 $ $Date: 2002/01/26 04:17:27 $
    * @see ExecManager
    * @see ExecMetaData
    */
  @@ -44,11 +44,11 @@
       private final CommandLauncher m_launcher;
       private final CommandLauncher m_shellLauncher;
   
  -    public DefaultExecManager( final File antDir )
  +    public DefaultExecManager( final File homeDir )
           throws ExecException
       {
           m_launcher = new DefaultCommandLauncher();
  -        m_shellLauncher = createShellLauncher( antDir );
  +        m_shellLauncher = createShellLauncher( homeDir );
       }
   
       /**
  @@ -133,7 +133,7 @@
           return launcher;
       }
   
  -    private CommandLauncher createShellLauncher( final File antDir )
  +    private CommandLauncher createShellLauncher( final File homeDir )
           throws ExecException
       {
           CommandLauncher launcher = null;
  @@ -164,21 +164,21 @@
               else
               {
                   // Windows 98/95 - need to use an auxiliary script
  -                final String script = resolveCommand( antDir, "bin/antRun.bat" );
  +                final String script = resolveCommand( homeDir, "bin/antRun.bat" );
                   launcher = new ScriptCommandLauncher( script );
               }
           }
           else if( Os.isFamily( "netware" ) )
           {
               // NetWare.  Need to determine which JDK we're running in
  -            final String perlScript = resolveCommand( antDir, "bin/antRun.pl" );
  +            final String perlScript = resolveCommand( homeDir, "bin/antRun.pl" );
               final String[] script = new String[]{"perl", perlScript};
               launcher = new ScriptCommandLauncher( script );
           }
           else
           {
               // Generic
  -            final String script = resolveCommand( antDir, "bin/antRun" );
  +            final String script = resolveCommand( homeDir, "bin/antRun" );
               launcher = new ScriptCommandLauncher( script );
           }
   
  
  
  

--
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