User: user57  
  Date: 01/09/26 19:30:40

  Modified:    src/bin  run.bat run.sh
  Log:
   o replaced custom command line option parsing in Main with gnu.getopt
   o added -D to set system properties
   o expanded the help text, moved examples to --help-examples
   o setting -Djboss.boot.loader.name in run.sh and run.bat, so the cl help
     bits know which program name to use (default to "jboss" when unknown)
   o run.jar includes gnu.getopt.* (two classes and 6 properties files) this
     makes run.jar about 17k.
  
  Revision  Changes    Path
  1.24      +3 -0      jboss/src/bin/run.bat
  
  Index: run.bat
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/bin/run.bat,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- run.bat   2001/08/13 18:33:00     1.23
  +++ run.bat   2001/09/27 02:30:40     1.24
  @@ -4,6 +4,9 @@
   
   set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;run.jar
   
  +REM Setup JBoss sepecific properties
  +set JAVA_OPTS="%JAVA_OPTS% -Djboss.boot.loader.name=run.bat"
  +
   REM Set the JAXP factory names
   REM Crimson parser JAXP setup(default)
   set 
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
  
  
  
  1.30      +4 -1      jboss/src/bin/run.sh
  
  Index: run.sh
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/bin/run.sh,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- run.sh    2001/09/10 12:40:33     1.29
  +++ run.sh    2001/09/27 02:30:40     1.30
  @@ -5,7 +5,7 @@
   ##                                                                          ##
   ### ====================================================================== ###
   
  -### $Id: run.sh,v 1.29 2001/09/10 12:40:33 kimptoc Exp $ ###
  +### $Id: run.sh,v 1.30 2001/09/27 02:30:40 user57 Exp $ ###
   
   DIRNAME=`dirname $0`
   PROGNAME=`basename $0`
  @@ -47,6 +47,9 @@
   if [ "x$JAVA_OPTS" = "x" -a "x$HAS_HOTSPOT" != "x" ]; then
       JAVA_OPTS="-server"
   fi
  +
  +# Setup JBoss sepecific properties
  +JAVA_OPTS="$JAVA_OPTS -Djboss.boot.loader.name=$PROGNAME"
   
   # Setup the JAXP parser to use
   if [ "x$JAXP" = "x" ]; then
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to