User: user57 Date: 02/02/06 16:29:31 Modified: src/bin run.bat run.sh Log: o moved jaxp setting to Main (so it can be done the same on all platforms) There is now a --jaxp (or -j) flag which can be set to either 'crimson' or 'xerces' to switch the jaxp impl. --help for more info. Revision Changes Path 1.29 +0 -5 jboss/src/bin/run.bat Index: run.bat =================================================================== RCS file: /cvsroot/jboss/jboss/src/bin/run.bat,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- run.bat 2002/02/05 02:23:44 1.28 +++ run.bat 2002/02/07 00:29:30 1.29 @@ -13,11 +13,6 @@ REM JPDA options. Uncomment and modify as appropriate to enable remote debugging. REM set JAVA_OPTS=%JAVA_OPTS% -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y -REM Set the JAXP factory names -REM Crimson parser JAXP setup(default) -set JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl -set JAXP=%JAXP% -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl - echo JBOSS_CLASSPATH=%JBOSS_CLASSPATH% java %JAVA_OPTS% %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 1.34 +1 -29 jboss/src/bin/run.sh Index: run.sh =================================================================== RCS file: /cvsroot/jboss/jboss/src/bin/run.sh,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- run.sh 2002/01/04 00:09:54 1.33 +++ run.sh 2002/02/07 00:29:31 1.34 @@ -5,7 +5,7 @@ ## ## ### ====================================================================== ### -### $Id: run.sh,v 1.33 2002/01/04 00:09:54 user57 Exp $ ### +### $Id: run.sh,v 1.34 2002/02/07 00:29:31 user57 Exp $ ### DIRNAME=`dirname $0` PROGNAME=`basename $0` @@ -76,34 +76,6 @@ # Setup JBoss sepecific properties JAVA_OPTS="$JAVA_OPTS -Djboss.boot.loader.name=$PROGNAME" - -# Setup the JAXP parser to use -if [ "x$JAXP" = "x" ]; then - # Default to crimson - JAXP="crimson" -fi - -case "$JAXP" in - crimson) - JAXP_DOM_FACTORY="org.apache.crimson.jaxp.DocumentBuilderFactoryImpl" - JAXP_SAX_FACTORY="org.apache.crimson.jaxp.SAXParserFactoryImpl" - ;; - - xerces) - JAXP_DOM_FACTORY="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" - JAXP_SAX_FACTORY="org.apache.xerces.jaxp.SAXParserFactoryImpl" - ;; - - *) - if [ "x$JAXP_DOM_FACTORY" = "x" ] && - [ "x$JAXP_SAX_FACTORY" = "x" ]; then - die "Unsupported JAXP parser: $JAXP" - fi - ;; -esac - -JAVA_OPTS="$JAVA_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" -JAVA_OPTS="$JAVA_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" # Where we need to be to start the server startdir="$JBOSS_HOME/bin"
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development