avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/frontends CLIMain.java
Date Sat, 17 Nov 2001 11:46:42 GMT
donaldp     01/11/17 03:46:42

  Modified:    src/java/org/apache/avalon/phoenix/frontends CLIMain.java
  Log:
  Make sure phoenix.home is passed as a parameter to embeddor.
  
  Revision  Changes    Path
  1.13      +4 -1      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/frontends/CLIMain.java
  
  Index: CLIMain.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/frontends/CLIMain.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- CLIMain.java	2001/11/17 07:06:53	1.12
  +++ CLIMain.java	2001/11/17 11:46:42	1.13
  @@ -57,7 +57,10 @@
               System.out.println( Constants.SOFTWARE + " " + Constants.VERSION );
               System.out.println();
   
  -            main.execute( setup.getParameters() );
  +            final Parameters parameters = setup.getParameters();
  +            final String phoenixHome = System.getProperty( "phoenix.home", ".." );
  +            parameters.setParameter( "phoenix.home", phoenixHome );
  +            main.execute( parameters );
           }
           catch( final Throwable throwable )
           {
  
  
  

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


Mime
View raw message