geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/command StartCommand.java
Date Sun, 24 Aug 2003 19:49:09 GMT
jdillon     2003/08/24 12:49:09

  Modified:    modules/core/src/java/org/apache/geronimo/command
                        StartCommand.java
  Log:
   o Prepend twiddle.home to urls so you do not have to be in the target dir
     to run bin/start
  
  Revision  Changes    Path
  1.2       +3 -3      incubator-geronimo/modules/core/src/java/org/apache/geronimo/command/StartCommand.java
  
  Index: StartCommand.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/command/StartCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StartCommand.java	24 Aug 2003 11:23:14 -0000	1.1
  +++ StartCommand.java	24 Aug 2003 19:49:09 -0000	1.2
  @@ -131,13 +131,13 @@
               return Command.SUCCESS;
           }
           
  -        URL mletURL = Strings.toURL("etc/boot.mlet");
  +        URL mletURL = Strings.toURL(System.getProperty("twiddle.home") + "/etc/boot.mlet");
           if (line.hasOption('m')) {
               String value = line.getOptionValue('m');
               mletURL = Strings.toURL(value);
           }
           
  -        URL deployURL = Strings.toURL("etc/boot-service.xml");
  +        URL deployURL = Strings.toURL(System.getProperty("twiddle.home") + "/etc/boot-service.xml");
           if (line.hasOption('d')) {
               String value = line.getOptionValue('d');
               deployURL = Strings.toURL(value);
  
  
  

Mime
View raw message