User: user57
Date: 01/08/27 17:55:54
Modified: . build.sh
Log:
o explicitly specifing the jaxp dom & sax factories to use (crimson)
Revision Changes Path
1.5 +10 -1 jbosssx/build.sh
Index: build.sh
===================================================================
RCS file: /cvsroot/jboss/jbosssx/build.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.sh 2001/08/27 04:47:24 1.4
+++ build.sh 2001/08/28 00:55:53 1.5
@@ -8,7 +8,7 @@
## ##
### ====================================================================== ###
-# $Id: build.sh,v 1.4 2001/08/27 04:47:24 user57 Exp $
+# $Id: build.sh,v 1.5 2001/08/28 00:55:53 user57 Exp $
PROGNAME=`basename $0`
DIRNAME=`dirname $0`
@@ -31,6 +31,10 @@
# don't check versions (too slow)
ANT_VERSION=""
+# specify the jaxp parsers to use
+JAXP_DOM_FACTORY="org.apache.crimson.jaxp.DocumentBuilderFactoryImpl"
+JAXP_SAX_FACTORY="org.apache.crimson.jaxp.SAXParserFactoryImpl"
+
#
# Helper to complain.
#
@@ -105,6 +109,11 @@
die "Ant version $ANT_VERSION is required to build."
fi
fi
+
+ # Specify the JAXP parser impls to use
+ ANT_OPTS="$ANT_OPTS
-Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY"
+ ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY"
+ export ANT_OPTS
# change to the directory where the script lives so folks do not have
# to be in the same dir to run the build without specifying the build
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development