[JBoss-dev] documentation-example content, pleas update someone.
Hi please, could someone update the documentation-example tar and zip ball. I get complaints all the time that the JMS examples are not part of the examples download. Please, regenerate it. There are a lot of new bees trying to use JMS, and I don't like to have to point them to CVS. //Peter -- Jobba hos oss: http://www.tim.se/weblab Peter Antman Technology in Media, Box 34105 100 26 Stockholm Systems ArchitectWWW: http://www.tim.se Email: [EMAIL PROTECTED]WWW: http://www.backsource.org Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942 ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: newsite cvs.jsp
User: user57 Date: 01/08/27 22:35:04 Modified:.cvs.jsp Log: o updated modules section to include jboss-all, jboss-most, jboss-min & jboss-mq. o added some notes about the new vs. old modules. o changed the cvs link to http://www.cvshome.org, the old link did not work, or rather the site had issues. o changed ant link to http://jakarta.apache.org/ant, the old link produced some weird error o added link to the SF project info page. Revision ChangesPath 1.7 +97 -35newsite/cvs.jsp Index: cvs.jsp === RCS file: /cvsroot/jboss/newsite/cvs.jsp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- cvs.jsp 2001/08/14 04:07:51 1.6 +++ cvs.jsp 2001/08/28 05:35:04 1.7 @@ -10,10 +10,17 @@ plan on working with the source tree, you can set up a CVS environment on your machine. - We host our CVS at sourceforge. http://sourceforge.net";> http://sourceforge.net/sflogo.php?group_id=22866"; width="88" height="31" border="0" alt="SourceForge Logo"> + + We host our CVS at sourceforge. http://sourceforge.net";> http://sourceforge.net/sflogo.php?group_id=22866"; width="88" height="31" border="0" alt="SourceForge Logo"> + + +http://sourceforge.net/projects/jboss";>JBoss Project Info + + + SOURCE CODE http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/";>Browse the source on-line - Download a daily updated snapshot of the sources (ZIP archive) + Download a daily updated snapshot of the sources (ZIP archive) CVS ENVIRONMENT To browse the source tree you will need a CVS client. If you don't have one already installed on your machine you can download http://www.jcvs.org/";>jCVS, the CVS client in java. jCVS will work on any platform including Linux. However we recommend the native Linux tools or try http://www.wincvs.org";>winCVS if you are based on a win32 platform. @@ -28,54 +35,109 @@ :ext:@cvs.jboss.sourceforge.net:/cvsroot/jboss For further explanations see http://sourceforge.net/cvs/?group_id=22866";>instructions at sourceforge - MODULES - The following modules are available for browsing: + CVS MODULES + + + The list of available modules has recently changed. Below is a list + of the currently supported modules. These modules are created via + CVSROOT/modules, so look there for more information about how they + work. + - jboss: the main jboss tree - jbosssx: the default security implementation - contrib: 3rd party contribution to jboss - contrib/tomcat: The Tomcat 3.2.2 mbean service - contrib/jetty: The Jetty mbean service - jbosstest: the testsuite for jboss - zoap: an alternative SOAP based invocation - ejx: the gui front end of jboss - jnp: the JNDI implementation - zola: the application model - jbossmq: the JMS implementation - jbosscx: the JCA implementation - jbosspool: generic object pool. A fork from Aaron Mulder's Minerva - jboss-j2ee: J2EE core classes - manual: JBoss manual + jboss-all: everything required to build JBoss + jboss-most: almost everything + jboss-min: the minimum required to build a functional server + jboss-mq: the JBossMQ standalone server + + The following modules are still available for browsing, but + we recommend that the jboss-* modules be used instead. + + +jboss: the main jboss tree +jbosssx: the default security implementation +contrib: 3rd party contribution to jboss +contrib/tomcat: The Tomcat 3.2.2 mbean service +contrib/jetty: The Jetty mbean service +jbosstest: the testsuite for jboss +zoap: an alternative SOAP based invocation +ejx: the gui front end of jboss +jnp: the JNDI implementation +zola: the application model +jbossmq: the JMS implementation +jbosscx: the JCA implementation +jbosspool: generic object pool. A fork from Aaron Mulder's Minerva +jboss-j2ee: J2EE core classes +manual: JBoss manual + + CVS Administration Polcies For our policies on CVS versioning and branching see: CVS Admin. More information on Build and Source - What is Ant? Ant is a Java based build tool. In theory it is kind of like make without makes wrinkles. -
[JBoss-dev] source archives
I was just updating cvs.jsp, when I noticed that there is a place to get source snaps from, but it looks like that isn't working anymore and is not pulling out the correct modules. Does anyone know how to fix this? --jason ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: tools/lib batik.jar xerces.jar xalanj1compat.jar
User: user57 Date: 01/08/27 21:53:12 Added: lib batik.jar xerces.jar Removed: lib xalanj1compat.jar Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.1 tools/lib/batik.jar <> 1.1 tools/lib/xerces.jar <> ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss build.sh
User: user57 Date: 01/08/27 21:53:12 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jboss/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jboss/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:54 1.5 +++ build.sh 2001/08/28 04:53:11 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:54 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:11 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +export
[JBoss-dev] manual build (fop sucks & xerces is driving me crazy)
I got a little closer to a working manual build; I can now build the printable html version (which is the first time I have ever been able to build anything from this module). I did have to increase the max heap for ant, but after that it will consistently build: ANT_OPTS="-Xmx256m" ./build.sh clean html-printable 256m is probably a bit high, but this takes a long time, so I didn't want to get near the end and have it complain again. I am running into problems with xerces and xalan as well as fop. I am testing all of this relative the the html-printable target, since that is the only one I was able to build. The html-default target is getting closer, but complains about an out of bound array. I get this error when using xerces(2_0_0_beta2), actually I get this if the xerces jar is in tools/lib. Perhaps I should use a different version, but other versions seem to cause my vm to crash (every time), this version does not: javax.xml.transform.TransformerConfigurationException: xsl:param requires attribute: name I also tried using the latest xalan (2_2_D9), which produces errors like this: javax.xml.transform.TransformerException I am not really sure what version of xalan is in tools/lib, but it seems to work best. I moved the docbook stuff from src/docs* to thirdparty and updated files to reference that directory from the property/filter @oasis.docbook.xml.root@ for docbook (xml) and @oasis.docbook.xsl.root@ for docbook stylesheets. I also moved the stylesheet from docs to stylesheets and rehooked up the compile-* targets so that the property/filter stuff would work again. It dosen't look like
[JBoss-dev] CVS update: jbosssx build.sh
User: user57 Date: 01/08/27 21:53:11 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jbosssx/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbosssx/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:53 1.5 +++ build.sh 2001/08/28 04:53:11 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:53 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:11 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +exp
[JBoss-dev] CVS update: jbossmq build.sh
User: user57 Date: 01/08/27 21:53:11 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jbossmq/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbossmq/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:53 1.5 +++ build.sh 2001/08/28 04:53:11 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:53 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:11 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +exp
[JBoss-dev] CVS update: jbosstest build.sh
User: user57 Date: 01/08/27 21:53:12 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.4 +50 -40jbosstest/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbosstest/build.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build.sh 2001/08/28 00:55:54 1.3 +++ build.sh 2001/08/28 04:53:12 1.4 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.3 2001/08/28 00:55:54 user57 Exp $ +# $Id: build.sh,v 1.4 2001/08/28 04:53:12 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +
[JBoss-dev] CVS update: jbosspool build.sh
User: user57 Date: 01/08/27 21:53:11 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jbosspool/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbosspool/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:53 1.5 +++ build.sh 2001/08/28 04:53:11 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:53 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:11 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +
[JBoss-dev] CVS update: contrib/jetty build.sh
User: user57 Date: 01/08/27 21:53:11 Modified:jettybuild.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40contrib/jetty/build.sh Index: build.sh === RCS file: /cvsroot/jboss/contrib/jetty/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:53 1.5 +++ build.sh 2001/08/28 04:53:11 1.6 @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +export ANT ANT_HOME ANT_OPTS exec $ANT $ANT_OPTIONS "$@" } ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: contrib/varia build.sh
User: user57 Date: 01/08/27 21:53:11 Modified:variabuild.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40contrib/varia/build.sh Index: build.sh === RCS file: /cvsroot/jboss/contrib/varia/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:53 1.5 +++ build.sh 2001/08/28 04:53:11 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:53 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:11 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOM
[JBoss-dev] CVS update: manual/src/docs/docbookx 40chg.txt 41chg.txt ChangeLog calstblx.dtd dbcentx.mod dbgenent.mod dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbookx.dtd readme.txt soextblx.dtd
User: user57 Date: 01/08/27 21:53:10 Removed: src/docs/docbookx 40chg.txt 41chg.txt ChangeLog calstblx.dtd dbcentx.mod dbgenent.mod dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbookx.dtd readme.txt soextblx.dtd Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jnp build.sh
User: user57 Date: 01/08/27 21:53:11 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jnp/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jnp/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:53 1.5 +++ build.sh 2001/08/28 04:53:11 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:53 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:11 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +export ANT
[JBoss-dev] CVS update: manual/src/stylesheets jboss.xsl
User: user57 Date: 01/08/27 21:53:11 Added: src/stylesheets jboss.xsl Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.1 manual/src/stylesheets/jboss.xsl Index: jboss.xsl === http://www.w3.org/1999/XSL/Transform"; xmlns:saxon="http://icl.com/saxon"; xmlns:lxslt="http://xml.apache.org/xslt"; xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"; version="1.0" exclude-result-prefixes="doc" extension-element-prefixes="saxon xalanredirect lxslt"> styles.css 1 1
[JBoss-dev] CVS update: manual/src/docs jbossdocs.xml jboss.xsl
User: user57 Date: 01/08/27 21:53:08 Modified:src/docs jbossdocs.xml Removed: src/docs jboss.xsl Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.26 +102 -94 manual/src/docs/jbossdocs.xml Index: jbossdocs.xml === RCS file: /cvsroot/jboss/manual/src/docs/jbossdocs.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- jbossdocs.xml 2001/08/24 21:26:02 1.25 +++ jbossdocs.xml 2001/08/28 04:53:08 1.26 @@ -1,98 +1,106 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]> + + + - - JBoss 2.1+ documentation - - 2000 - 2001 - JBoss Organization - - -&preface.xml; -&jbossintro.xml; -&basicconfiguration.xml; -&resource.xml; - - JDBC - - - Aaron - Mulder - - [EMAIL PROTECTED] - -&jdbc-database.xml; -&howtomssql.xml; - -&cmp.xml; -&customizingjaws.xml; -&advconfig.xml; -&jbossjms.xml; -&designnotes.xml; -&jbosssx.xml; -&production.xml; - - Howto -&howtotomcat.xml; -&howtojetty.xml; -&howtormhexamples.xml; -&howtombeans.xml; -&howtojmx.xml; -&howtotimer.xml; -&howtoj2eedeployer.xml; -&howtojaas.xml; -&howtojavamail.xml; -&howtojbuilderdebug.xml; -&howtovisualagedebug.xml; -&howtonetbeansdebug.xml; -&howtoejx.xml; -&howtojca.xml; -&howtojndiexternal.xml; -&howtosocketfactories.xml; -&howtojaxp.xml; -&howtoverifier.xml; -&howtopetstore.xml; -&howtowebcontainer.xml; -&howtoejbdoclet.xml; -&howtoclientapplet.xml; - + + JBoss 2.1+ documentation + + 2000 + 2001 + JBoss Organization + + + + &preface.xml; + &jbossintro.xml; + &basicconfiguration.xml; + &resource.xml; + + + JDBC + + + Aaron + Mulder + + [EMAIL PROTECTED] + + + &jdbc-database.xml; + &howtomssql.xml; + + + &cmp.xml; + &customizingjaws.xml; + &advconfig.xml; + &jbossjms.xml; + &designnotes.xml; + &jbosssx.xml; + &production.xml; + + + Howto + &howtotomcat.xml; + &howtojetty.xml; + &howtormhexamples.xml; + &howtombeans.xml; + &howtojmx.xml; + &howtotimer.xml; + &howtoj2eedeployer.xml; + &howtojaas.xml; + &howtojavamail.xml; + &howtojbuilderdebug.xml; + &howtovisualagedebug.xml; + &howtonetbeansdebug.xml; + &howtoejx.xml; + &howtojca.xml; + &howtojndiexternal.xml; + &howtosocketfactories.xml; + &howtojaxp.xml; + &howtoverifier.xml; + &howtopetstore.xml; + &howtowebcontainer.xml; + &howtoejbdoclet.xml; + &howtoclientapplet.xml; + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/docs/docbook BUGS ChangeLog LICENCE.txt README TODO VERSION WhatsNew
User: user57 Date: 01/08/27 21:53:09 Removed: src/docs/docbook BUGS ChangeLog LICENCE.txt README TODO VERSION WhatsNew Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/docs/docbook/fo ChangeLog LostLog admon.xsl autotoc.xsl biblio.xsl block.xsl callout.xsl component.xsl division.xsl docbook.xsl fo.xsl footnote.xsl formal.xsl glossary.xsl graphics.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl math.xsl pagesetup.xsl param.xsl pi.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl titlepage.templates.xml titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xref.xsl xtdocbook.xsl xtindex.xsl
User: user57 Date: 01/08/27 21:53:09 Removed: src/docs/docbook/fo ChangeLog LostLog admon.xsl autotoc.xsl biblio.xsl block.xsl callout.xsl component.xsl division.xsl docbook.xsl fo.xsl footnote.xsl formal.xsl glossary.xsl graphics.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl math.xsl pagesetup.xsl param.xsl pi.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl titlepage.templates.xml titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xref.xsl xtdocbook.xsl xtindex.xsl Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/docs/docbookx/ent iso-amsa.ent iso-amsb.ent iso-amsc.ent iso-amsn.ent iso-amso.ent iso-amsr.ent iso-box.ent iso-cyr1.ent iso-cyr2.ent iso-dia.ent iso-grk1.ent iso-grk2.ent iso-grk3.ent iso-grk4.ent iso-lat1.ent iso-lat2.ent iso-num.ent iso-pub.ent iso-tech.ent
User: user57 Date: 01/08/27 21:53:10 Removed: src/docs/docbookx/ent iso-amsa.ent iso-amsb.ent iso-amsc.ent iso-amsn.ent iso-amso.ent iso-amsr.ent iso-box.ent iso-cyr1.ent iso-cyr2.ent iso-dia.ent iso-grk1.ent iso-grk2.ent iso-grk3.ent iso-grk4.ent iso-lat1.ent iso-lat2.ent iso-num.ent iso-pub.ent iso-tech.ent Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/docs/docbook/html ChangeLog LostLog admon.xsl autotoc.xsl biblio.xsl block.xsl callout.xsl changebars.xsl chunk-common.xsl chunk.xsl component.xsl division.xsl docbook.xsl ebnf.xsl footnote.xsl formal.xsl glossary.xsl graphics.xsl html.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl math.xsl param.xsl pi.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl titlepage.templates.xml titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xref.xsl xtchunk.xsl xtdocbook.xsl xtindex.xsl
User: user57 Date: 01/08/27 21:53:10 Removed: src/docs/docbook/html ChangeLog LostLog admon.xsl autotoc.xsl biblio.xsl block.xsl callout.xsl changebars.xsl chunk-common.xsl chunk.xsl component.xsl division.xsl docbook.xsl ebnf.xsl footnote.xsl formal.xsl glossary.xsl graphics.xsl html.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl math.xsl param.xsl pi.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl titlepage.templates.xml titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xref.xsl xtchunk.xsl xtdocbook.xsl xtindex.xsl Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/docs/docbook/lib ChangeLog LostLog lib.xsl
User: user57 Date: 01/08/27 21:53:10 Removed: src/docs/docbook/lib ChangeLog LostLog lib.xsl Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosscx build.sh
User: user57 Date: 01/08/27 21:53:08 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jbosscx/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbosscx/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:52 1.5 +++ build.sh 2001/08/28 04:53:08 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:52 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:08 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +exp
[JBoss-dev] CVS update: build/jboss build.sh
User: user57 Date: 01/08/27 21:53:07 Modified:jbossbuild.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.5 +50 -40build/jboss/build.sh Index: build.sh === RCS file: /cvsroot/jboss/build/jboss/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/28 00:55:52 1.4 +++ build.sh 2001/08/28 04:53:07 1.5 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.4 2001/08/28 00:55:52 user57 Exp $ +# $Id: build.sh,v 1.5 2001/08/28 04:53:07 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME
[JBoss-dev] CVS update: manual/src/docs/docbook/common ChangeLog LostLog ca.xml common.xsl cs.xml da.xml de.xml el.xml en.xml es.xml et.xml fi.xml fr.xml hu.xml id.xml it.xml ja.xml ko.xml l10n.dtd l10n.xml l10n.xsl nl.xml no.xml pl.xml pt.xml pt_br.xml ro.xml ru.xml sk.xml sl.xml sv.xml zh_cn.xml zh_tw.xml
User: user57 Date: 01/08/27 21:53:09 Removed: src/docs/docbook/common ChangeLog LostLog ca.xml common.xsl cs.xml da.xml de.xml el.xml en.xml es.xml et.xml fi.xml fr.xml hu.xml id.xml it.xml ja.xml ko.xml l10n.dtd l10n.xml l10n.xsl nl.xml no.xml pl.xml pt.xml pt_br.xml ro.xml ru.xml sk.xml sl.xml sv.xml zh_cn.xml zh_tw.xml Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmx build.sh
User: user57 Date: 01/08/27 21:53:08 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jbossmx/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbossmx/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:52 1.5 +++ build.sh 2001/08/28 04:53:07 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:52 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:07 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +exp
[JBoss-dev] CVS update: manual build.sh build.xml
User: user57 Date: 01/08/27 21:53:08 Modified:.build.sh build.xml Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.7 +50 -40manual/build.sh Index: build.sh === RCS file: /cvsroot/jboss/manual/build.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- build.sh 2001/08/28 00:55:53 1.6 +++ build.sh 2001/08/28 04:53:08 1.7 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.6 2001/08/28 00:55:53 user57 Exp $ +# $Id: build.sh,v 1.7 2001/08/28 04:53:08 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME
[JBoss-dev] CVS update: admin build.sh
User: user57 Date: 01/08/27 21:53:07 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40admin/build.sh Index: build.sh === RCS file: /cvsroot/jboss/admin/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:52 1.5 +++ build.sh 2001/08/28 04:53:07 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:52 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:07 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +export
[JBoss-dev] CVS update: jboss-j2ee build.sh
User: user57 Date: 01/08/27 21:53:08 Modified:.build.sh Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision ChangesPath 1.6 +50 -40jboss-j2ee/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jboss-j2ee/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/28 00:55:52 1.5 +++ build.sh 2001/08/28 04:53:08 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/28 00:55:52 user57 Exp $ +# $Id: build.sh,v 1.6 2001/08/28 04:53:08 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -28,13 +28,12 @@ # the default arguments ANT_OPTIONS="-find $ANT_BUILD_FILE" -# don't check versions (too slow) -ANT_VERSION="" +# the jaxp parser to use +if [ "x$JAXP" = "x" ]; then +# Default to crimson +JAXP="crimson" +fi -# 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. # @@ -61,7 +60,7 @@ ANT="$ANT_HOME/bin/ant" if [ -x "$ANT" ]; then # found one - echo $ANT + echo $ANT_HOME break fi done @@ -75,52 +74,63 @@ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf" # try the search path -ANT=`search $ANT_SEARCH_PATH` -target="build" -_cwd=`pwd` - -while [ "x$ANT" = "x" ] && [ "$cwd" != "$ROOT" ]; do - cd .. - cwd=`pwd` - ANT=`search $ANT_SEARCH_PATH` -done +ANT_HOME=`search $ANT_SEARCH_PATH` -# make sure we get back -cd $_cwd +# try looking up to root +if [ "x$ANT_HOME" = "x" ]; then + target="build" + _cwd=`pwd` + + while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do + cd .. + cwd=`pwd` + ANT_HOME=`search $ANT_SEARCH_PATH` + done -if [ "$cwd" != "$ROOT" ]; then - found="true" -fi + # make sure we get back + cd $_cwd + + if [ "$cwd" != "$ROOT" ]; then + found="true" + fi -# complain if we did not find anything -if [ "$found" != "true" ]; then - die "Could not locate Ant; check \$ANT or \$ANT_HOME." + # complain if we did not find anything + if [ "$found" != "true" ]; then + die "Could not locate Ant; check \$ANT or \$ANT_HOME." + fi fi # make sure we have one +ANT=$ANT_HOME/bin/ant if [ ! -x "$ANT" ]; then die "Ant file is not executable: $ANT" fi -# perhaps check the version -if [ "x$ANT_VERSION" != "x" ] && [ "x$ANT_VERSION_CHECK" != "x" ]; then - result="`$ANT -version 2>&1 | $GREP $ANT_VERSION`x" - if [ "$result" = "x" ]; then - die "Ant version $ANT_VERSION is required to build." - fi +# specify the jaxp parser impls to use +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" + ;; +esac + +if [ "x$JAXP_DOM_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY" +fi +if [ "x$JAXP_SAX_FACTORY" != "x" ]; then + ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY" 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 -# file. +# change to the directory where the script lives so users are not forced +# to be in the same directory as build.xml cd $DIRNAME -export ANT ANT_HOME +
[JBoss-dev] CVS update: jboss/src/bin run.sh
User: user57 Date: 01/08/27 21:49:10 Modified:src/bin run.sh Log: o added support to use xerces with JAXP=xerces (users still need to add classes to $JBOSS_CLASSPATH Revision ChangesPath 1.26 +6 -1 jboss/src/bin/run.sh Index: run.sh === RCS file: /cvsroot/jboss/jboss/src/bin/run.sh,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- run.sh2001/08/14 02:29:24 1.25 +++ run.sh2001/08/28 04:49:10 1.26 @@ -5,7 +5,7 @@ ## ## ### == ### -### $Id: run.sh,v 1.25 2001/08/14 02:29:24 user57 Exp $ ### +### $Id: run.sh,v 1.26 2001/08/28 04:49:10 user57 Exp $ ### DIRNAME=`dirname $0` PROGNAME=`basename $0` @@ -58,6 +58,11 @@ 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" ;; *) ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] SQL reserved words
Dan, I love this. I'm going to implement it this way. Thanks, -dain > -Original Message- > From: Dan OConnor [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 27, 2001 9:59 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] SQL reserved words > > > Hi Dain, > > Why not use a sequential alias with no meaning, and let the user > specify a single global unique postfix in a config file if necessary > (e.g. "t1", "t2", "t3", and the user can make this "t1_myunique", > "t2_myunique", "t3_myunique")? > > -Dan > > On 26 Aug 01, at 23:50, Dain Sundstrom wrote: > > > David, > > > > I need create aliases when a table is used more then once > in a EJB-QL query. > > It is really easy to get into this situation, so aliases > are always used. I > > could let the db compain, but then the user would have no > recourse, as > > EJB-QL is currently the only way to define an ejbSelect. I > looked at the > > getSQLKeywords function, and I think it is a good start. > We will still need > > the ability to specify additional keywords, because the > drivers sometimes > > lie. > > > > Does this explain the issue more? This is only for EJB-QL, > but could be > > expanded to other auto-generation code like table and column name > > generation. > > > > I have been thinking that this code should be moved back > into the jdbc > > connector object... but that is for another day. > > > > -dain > > > > - Original Message - > > From: "David Jencks" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, August 26, 2001 11:20 PM > > Subject: Re: [JBoss-dev] SQL reserved words > > > > > > > Probably I don't understand all the issues here, > > > > > > > > > Why not just use the fully qualified column name > relation_name.column_name > > > always and dispense with aliases? You can't use a > reserved word for a > > > relation_name anyway, so you don't really need to worry > about keeping > > track > > > of them... the db will complain. > > > > > > If you do want to keep track of reserved words, there is > a database > > > metadata method getSQLKeywords that might be helpful. > > > > > > david jencks > > > > > > On 2001.08.26 17:52:35 -0400 Dain Sundstrom wrote: > > > > Hi all, > > > > > > > > I have been thinking over the issue of generation of > table aliases in > > > > EJB-QL > > > > queries, and have run into some problems. What I want > to do is prevent > > > > the > > > > EQL-QL assembler from generating table aliases that > have been already > > > > used, > > > > that are reserved words, or are a db object name (i.e., > a table, view, > > or > > > > other name). I can handle the first to easily, but I > can't think of a > > > > way > > > > to prevent collision with db objects. > > > > > > > > We could just tell users that they can prevent the code > from generating > > > > an > > > > alias that is the name of a db object by adding the > name to a reserved > > > > word > > > > list in the config file. I think this is reasonable as > long as it is > > > > rare. > > > > > > > > Then there is the issue of generating a database alias > that it the same > > > > as > > > > an auto generated table name. This can happen because > there is no > > > > central > > > > repository for the reserved word list. Let me explain > the last claim a > > > > little more. I am proposing adding a reserved word list to the > > > > type-mapping > > > > section section of the config file. The type mapping > is selectable on a > > > > per > > > > bean level (newer feature). This means that each bean > effectively has > > > > it's > > > > own datasource mapping information, and no central repository. > > > > > > > > Again, I think the only way around this is to have the > user hand assign > > > > the > > > > table name and if collision persists add the table name > to the reserved > > > > list. > > > > > > > > I just don't like the idea of forcing users to do a lot of hand > > > > configuration of the data mapping. I think the system > should basically > > > > work > > > > without any jboss specific configuration of the cmp engine. > > > > > > > > If you have any insight into this issue, please speak-up. > > > > > > > > -dain > > > > > > > > > > > > ___ > > > > Jboss-development mailing list > > > > [EMAIL PROTECTED] > > > > http://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > > > > > > ___ > > > Jboss-development mailing list > > > [EMAIL PROTECTED] > > > http://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > ___ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-development > > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-dev
[JBoss-dev] CVS update: thirdparty/oasis/docbook-xsl - Imported sources
User: user57 Date: 01/08/27 19:55:01 Log: o Import DocBook Stylesheets v1.44 from Oasis Status: Vendor Tag: oasis Release Tags: docbook_xsl_1_44 N thirdparty/oasis/docbook-xsl/BUGS N thirdparty/oasis/docbook-xsl/ChangeLog N thirdparty/oasis/docbook-xsl/README N thirdparty/oasis/docbook-xsl/TODO N thirdparty/oasis/docbook-xsl/VERSION N thirdparty/oasis/docbook-xsl/WhatsNew N thirdparty/oasis/docbook-xsl/common/common.xsl N thirdparty/oasis/docbook-xsl/common/l10n.xml N thirdparty/oasis/docbook-xsl/common/l10n.xsl N thirdparty/oasis/docbook-xsl/common/gentext.xsl N thirdparty/oasis/docbook-xsl/common/labels.xsl N thirdparty/oasis/docbook-xsl/common/titles.xsl N thirdparty/oasis/docbook-xsl/common/subtitles.xsl N thirdparty/oasis/docbook-xsl/common/ca.xml N thirdparty/oasis/docbook-xsl/common/l10n.dtd N thirdparty/oasis/docbook-xsl/common/cs.xml N thirdparty/oasis/docbook-xsl/common/da.xml N thirdparty/oasis/docbook-xsl/common/de.xml N thirdparty/oasis/docbook-xsl/common/el.xml N thirdparty/oasis/docbook-xsl/common/et.xml N thirdparty/oasis/docbook-xsl/common/en.xml N thirdparty/oasis/docbook-xsl/common/es.xml N thirdparty/oasis/docbook-xsl/common/fi.xml N thirdparty/oasis/docbook-xsl/common/fr.xml N thirdparty/oasis/docbook-xsl/common/hu.xml N thirdparty/oasis/docbook-xsl/common/id.xml N thirdparty/oasis/docbook-xsl/common/it.xml N thirdparty/oasis/docbook-xsl/common/ja.xml N thirdparty/oasis/docbook-xsl/common/ko.xml N thirdparty/oasis/docbook-xsl/common/nl.xml N thirdparty/oasis/docbook-xsl/common/no.xml N thirdparty/oasis/docbook-xsl/common/pl.xml N thirdparty/oasis/docbook-xsl/common/pt.xml N thirdparty/oasis/docbook-xsl/common/pt_br.xml N thirdparty/oasis/docbook-xsl/common/ro.xml N thirdparty/oasis/docbook-xsl/common/ru.xml N thirdparty/oasis/docbook-xsl/common/sk.xml N thirdparty/oasis/docbook-xsl/common/sl.xml N thirdparty/oasis/docbook-xsl/common/sv.xml N thirdparty/oasis/docbook-xsl/common/zh_cn.xml N thirdparty/oasis/docbook-xsl/common/zh_tw.xml N thirdparty/oasis/docbook-xsl/common/ChangeLog N thirdparty/oasis/docbook-xsl/common/sr.xml N thirdparty/oasis/docbook-xsl/common/tr.xml N thirdparty/oasis/docbook-xsl/common/af.xml N thirdparty/oasis/docbook-xsl/doc/book.xsl N thirdparty/oasis/docbook-xsl/doc/jrefhtml.xsl N thirdparty/oasis/docbook-xsl/doc/reference.xsl N thirdparty/oasis/docbook-xsl/doc/copyright.html N thirdparty/oasis/docbook-xsl/doc/warranty.html N thirdparty/oasis/docbook-xsl/doc/reference.html N thirdparty/oasis/docbook-xsl/doc/index.html N thirdparty/oasis/docbook-xsl/doc/pr01.html N thirdparty/oasis/docbook-xsl/doc/ch01s02.html N thirdparty/oasis/docbook-xsl/doc/ch01s03.html N thirdparty/oasis/docbook-xsl/doc/ch01s04.html N thirdparty/oasis/docbook-xsl/doc/publishing.html N thirdparty/oasis/docbook-xsl/doc/ch02s02.html N thirdparty/oasis/docbook-xsl/doc/extensions.html N thirdparty/oasis/docbook-xsl/doc/ch03.html N thirdparty/oasis/docbook-xsl/doc/ch04.html N thirdparty/oasis/docbook-xsl/doc/ChangeLog N thirdparty/oasis/docbook-xsl/doc/reference.css N thirdparty/oasis/docbook-xsl/doc/ch05.html N thirdparty/oasis/docbook-xsl/doc/lib/lib.html N thirdparty/oasis/docbook-xsl/doc/lib/ChangeLog N thirdparty/oasis/docbook-xsl/doc/common/common.html N thirdparty/oasis/docbook-xsl/doc/common/ChangeLog N thirdparty/oasis/docbook-xsl/doc/html/param.html N thirdparty/oasis/docbook-xsl/doc/html/ebnf.html N thirdparty/oasis/docbook-xsl/doc/html/ChangeLog N thirdparty/oasis/docbook-xsl/doc/fo/param.html N thirdparty/oasis/docbook-xsl/doc/fo/table.html N thirdparty/oasis/docbook-xsl/doc/fo/ChangeLog N thirdparty/oasis/docbook-xsl/doc/tools/ChangeLog N thirdparty/oasis/docbook-xsl/doc/tools/profiling.html N thirdparty/oasis/docbook-xsl/doc/tools/profile-chain.png N thirdparty/oasis/docbook-xsl/docsrc/jrefhtml.xsl N thirdparty/oasis/docbook-xsl/docsrc/xsl2jref.xsl N thirdparty/oasis/docbook-xsl/docsrc/warranty.xml N thirdparty/oasis/docbook-xsl/docsrc/publishing.xml N thirdparty/oasis/docbook-xsl/docsrc/legalnotice.xml N thirdparty/oasis/docbook-xsl/docsrc/reference.xml N thirdparty/oasis/docbook-xsl/docsrc/documentation.xml N thirdparty/oasis/docbook-xsl/docsrc/copyright.xml N thirdparty/oasis/docbook-xsl/docsrc/extensions.xml N thirdparty/oasis/docbook-xsl/docsrc/templates.xml N thirdparty/oasis/docbook-xsl/docsrc/template-example.xsl N thirdparty/oasis/docbook-xsl/docsrc/template-example.xml N thirdparty/oasis/docbook-xsl/docsrc/ChangeLog N thirdparty/oasis/docbook-xsl/docsrc/common/common.xml N thirdparty/oasis/docbook-xsl/docsrc/common/ChangeLog N thirdparty/oasis/docbook-xsl/docsrc/lib/lib.xml N thirdparty/oasis/docbook-xsl/docsrc/lib/ChangeLog N thirdparty/oasis/docbook-xsl/docsrc/html/param.xml N thirdparty/oasis/docbook-xsl/docsrc/html/ebnf.xml N thirdparty/oasis/docbo
[JBoss-dev] CVS update: thirdparty/oasis/docbook-xml - Imported sources
User: user57 Date: 01/08/27 19:55:36 Log: o import of DocBook XML v4.1.2 from Oasis Status: Vendor Tag: oasis Release Tags: docbook_xml_4_1_2 N thirdparty/oasis/docbook-xml/40chg.txt N thirdparty/oasis/docbook-xml/41chg.txt N thirdparty/oasis/docbook-xml/calstblx.dtd N thirdparty/oasis/docbook-xml/ChangeLog N thirdparty/oasis/docbook-xml/dbcentx.mod N thirdparty/oasis/docbook-xml/dbgenent.mod N thirdparty/oasis/docbook-xml/dbhierx.mod N thirdparty/oasis/docbook-xml/dbnotnx.mod N thirdparty/oasis/docbook-xml/dbpoolx.mod N thirdparty/oasis/docbook-xml/docbook.cat N thirdparty/oasis/docbook-xml/docbookx.dtd N thirdparty/oasis/docbook-xml/readme.txt N thirdparty/oasis/docbook-xml/soextblx.dtd N thirdparty/oasis/docbook-xml/ent/iso-amsa.ent N thirdparty/oasis/docbook-xml/ent/iso-amsb.ent N thirdparty/oasis/docbook-xml/ent/iso-amsc.ent N thirdparty/oasis/docbook-xml/ent/iso-amsn.ent N thirdparty/oasis/docbook-xml/ent/iso-amso.ent N thirdparty/oasis/docbook-xml/ent/iso-amsr.ent N thirdparty/oasis/docbook-xml/ent/iso-box.ent N thirdparty/oasis/docbook-xml/ent/iso-cyr1.ent N thirdparty/oasis/docbook-xml/ent/iso-cyr2.ent N thirdparty/oasis/docbook-xml/ent/iso-dia.ent N thirdparty/oasis/docbook-xml/ent/iso-grk1.ent N thirdparty/oasis/docbook-xml/ent/iso-grk2.ent N thirdparty/oasis/docbook-xml/ent/iso-grk3.ent N thirdparty/oasis/docbook-xml/ent/iso-grk4.ent N thirdparty/oasis/docbook-xml/ent/iso-lat1.ent N thirdparty/oasis/docbook-xml/ent/iso-lat2.ent N thirdparty/oasis/docbook-xml/ent/iso-num.ent N thirdparty/oasis/docbook-xml/ent/iso-pub.ent N thirdparty/oasis/docbook-xml/ent/iso-tech.ent No conflicts created by this import ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/stylesheets - New directory
User: user57 Date: 01/08/27 19:52:49 manual/src/stylesheets - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss build.xml
User: user57 Date: 01/08/27 19:09:56 Modified:.build.xml Log: o changed module.version to "unused", please update the version from build/build.xml. Revision ChangesPath 1.16 +2 -2 jboss/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jboss/build.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- build.xml 2001/08/28 02:08:18 1.15 +++ build.xml 2001/08/28 02:09:56 1.16 @@ -10,7 +10,7 @@ - + @@ -74,7 +74,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/resources/org/jboss version.properties
User: user57 Date: 01/08/27 19:08:18 Added: src/resources/org/jboss version.properties Log: o Changed Main to use Calendar.get(XXX) to avoid deprecation warnings o Added Version, which is a singleton that holds version information (read from version.properties, which is updated by the build system when it is copied from src/resources to output/resources) o Updated build.xml to include Version & version.properties in run.jar o Added version.* properties in build.xml, which are used by copy filtering to update version.properties. Revision ChangesPath 1.1 jboss/src/resources/org/jboss/version.properties Index: version.properties === ### == ### ## ## ## Holds version properties for JBoss. ## ## ## ### == ### ### $Id: version.properties,v 1.1 2001/08/28 02:08:18 user57 Exp $ ### # The version of the server [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ # Build identifiers [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ build.date=@DSTAMP@ build.time=@TSTAMP@ build.day=@TODAY@ # Information about Java version used to compile [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ # Information about the OS the server was compiled on [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss build.xml
User: user57 Date: 01/08/27 19:08:18 Modified:.build.xml Log: o Changed Main to use Calendar.get(XXX) to avoid deprecation warnings o Added Version, which is a singleton that holds version information (read from version.properties, which is updated by the build system when it is copied from src/resources to output/resources) o Updated build.xml to include Version & version.properties in run.jar o Added version.* properties in build.xml, which are used by copy filtering to update version.properties. Revision ChangesPath 1.15 +5 -1 jboss/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jboss/build.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- build.xml 2001/08/27 09:01:37 1.14 +++ build.xml 2001/08/28 02:08:18 1.15 @@ -10,7 +10,7 @@ - + @@ -489,6 +489,10 @@ manifest="${build.etc}/run.mf"> + + + + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/main/org/jboss Version.java Main.java
User: user57 Date: 01/08/27 19:08:18 Modified:src/main/org/jboss Main.java Added: src/main/org/jboss Version.java Log: o Changed Main to use Calendar.get(XXX) to avoid deprecation warnings o Added Version, which is a singleton that holds version information (read from version.properties, which is updated by the build system when it is copied from src/resources to output/resources) o Updated build.xml to include Version & version.properties in run.jar o Added version.* properties in build.xml, which are used by copy filtering to update version.properties. Revision ChangesPath 1.43 +70 -58jboss/src/main/org/jboss/Main.java Index: Main.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Main.java,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- Main.java 2001/08/03 20:33:11 1.42 +++ Main.java 2001/08/28 02:08:18 1.43 @@ -16,30 +16,38 @@ import java.io.PrintWriter; import java.io.FileWriter; import java.net.URL; + +import java.util.ArrayList; +import java.util.Set; +import java.util.Iterator; +import java.util.Date; +import java.util.Calendar; + import java.security.*; -import java.util.*; import javax.management.*; import javax.management.loading.*; /** - * - * @see - * @author mailto:[EMAIL PROTECTED]";>Rickard Öberg. - * @author mailto:[EMAIL PROTECTED]";>Daniel O'Connor. - * @author mailto:[EMAIL PROTECTED]";>Scott Stark. - * @version $Revision: 1.42 $ + * The main entry point for the JBoss server. + * + * @author mailto:[EMAIL PROTECTED]";>Rickard Öberg. + * @author mailto:[EMAIL PROTECTED]";>Daniel O'Connor. + * @author mailto:[EMAIL PROTECTED]";>Scott Stark. + * @author mailto:[EMAIL PROTECTED]";>Jason Dillon + * @version $Revision: 1.43 $ */ public class Main { // Constants - + + private Version version = Version.getInstance(); - String versionIdentifier = "pre-3.0 [RABBIT-HOLE]"; // Attributes // Static public static void main(final String[] args) - throws Exception + throws Exception { String cn = "default"; // Default configuration name is "default", i.e. all conf files are in "/conf/default" String patchDir = null; @@ -48,8 +56,8 @@ cn = args[0]; for(int a = 0; a < args.length; a ++) { - if( args[a].startsWith("-p") ) - patchDir = args[a+1]; + if( args[a].startsWith("-p") ) +patchDir = args[a+1]; } final String confName = cn; final String patchDirName = patchDir; @@ -69,27 +77,27 @@ */ if( System.getProperty("jboss.home") == null ) { - String path = Main.class.getProtectionDomain().getCodeSource().getLocation().getFile(); - File runJar = new File(path); - // Home dir should be the parent of the dir containing run.jar - File homeDir = new File(runJar.getParent(), ".."); - System.setProperty("jboss.home", homeDir.getCanonicalPath()); + String path = Main.class.getProtectionDomain().getCodeSource().getLocation().getFile(); + File runJar = new File(path); + // Home dir should be the parent of the dir containing run.jar + File homeDir = new File(runJar.getParent(), ".."); + System.setProperty("jboss.home", homeDir.getCanonicalPath()); } System.out.println("jboss.home = "+System.getProperty("jboss.home")); // Set the JAAS login config file if not already set if( System.getProperty("java.security.auth.login.config") == null ) { - URL loginConfig = Main.class.getClassLoader().getResource(confName+"/auth.conf"); - if( loginConfig != null ) - { - System.setProperty("java.security.auth.login.config", loginConfig.toExternalForm()); - System.out.println("Using JAAS LoginConfig: "+loginConfig.toExternalForm()); - } - else - { - System.out.println("Warning: no auth.conf found in config="+confName); - } + URL loginConfig = Main.class.getClassLoader().getResource(confName+"/auth.conf"); + if( loginConfig != null ) + { +System.setProperty("java.security.auth.login.config", loginConfig.toExternalForm()); +System.out.println("Using JAAS LoginConfig: "+loginConfig.toExternalForm()); + } + else + { +System.out.println("Warning: no auth.conf found in config="+confName); +
[JBoss-dev] CVS update: build/jboss build.xml
User: user57 Date: 01/08/27 19:08:18 Modified:jbossbuild.xml Log: o Changed Main to use Calendar.get(XXX) to avoid deprecation warnings o Added Version, which is a singleton that holds version information (read from version.properties, which is updated by the build system when it is copied from src/resources to output/resources) o Updated build.xml to include Version & version.properties in run.jar o Added version.* properties in build.xml, which are used by copy filtering to update version.properties. Revision ChangesPath 1.9 +9 -2 build/jboss/build.xml Index: build.xml === RCS file: /cvsroot/jboss/build/jboss/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- build.xml 2001/08/27 09:09:14 1.8 +++ build.xml 2001/08/28 02:08:17 1.9 @@ -10,7 +10,7 @@ - + @@ -70,10 +70,17 @@ + + + + + + + - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosspool build.sh
User: user57 Date: 01/08/27 17:55:53 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 jbosspool/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbosspool/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:22 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:22 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
[JBoss-dev] CVS update: jbossmq build.sh
User: user57 Date: 01/08/27 17:55:53 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 jbossmq/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbossmq/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:23 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:23 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
[JBoss-dev] CVS update: jbosssx build.sh
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 ChangesPath 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
[JBoss-dev] CVS update: jbossmx build.sh
User: user57 Date: 01/08/27 17:55:52 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 jbossmx/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbossmx/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:23 1.4 +++ build.sh 2001/08/28 00:55:52 1.5 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.4 2001/08/27 04:47:23 user57 Exp $ +# $Id: build.sh,v 1.5 2001/08/28 00:55:52 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
[JBoss-dev] CVS update: jbosstest build.sh
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 ChangesPath 1.3 +10 -1 jbosstest/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbosstest/build.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.sh 2001/08/27 04:48:20 1.2 +++ build.sh 2001/08/28 00:55:54 1.3 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.2 2001/08/27 04:48:20 user57 Exp $ +# $Id: build.sh,v 1.3 2001/08/28 00:55:54 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
[JBoss-dev] CVS update: manual build.sh
User: user57 Date: 01/08/27 17:55:53 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.6 +10 -1 manual/build.sh Index: build.sh === RCS file: /cvsroot/jboss/manual/build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.sh 2001/08/27 04:47:22 1.5 +++ build.sh 2001/08/28 00:55:53 1.6 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.5 2001/08/27 04:47:22 user57 Exp $ +# $Id: build.sh,v 1.6 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
[JBoss-dev] CVS update: contrib/jetty build.sh
User: user57 Date: 01/08/27 17:55:53 Modified:jettybuild.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 contrib/jetty/build.sh Index: build.sh === RCS file: /cvsroot/jboss/contrib/jetty/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:23 1.4 +++ build.sh 2001/08/28 00:55:53 1.5 @@ -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
[JBoss-dev] CVS update: jnp build.sh
User: user57 Date: 01/08/27 17:55:53 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 jnp/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jnp/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:22 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:22 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
[JBoss-dev] CVS update: contrib/varia build.sh
User: user57 Date: 01/08/27 17:55:53 Modified:variabuild.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 contrib/varia/build.sh Index: build.sh === RCS file: /cvsroot/jboss/contrib/varia/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:23 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:23 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
[JBoss-dev] CVS update: jboss-j2ee build.sh
User: user57 Date: 01/08/27 17:55:52 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 jboss-j2ee/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jboss-j2ee/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:23 1.4 +++ build.sh 2001/08/28 00:55:52 1.5 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.4 2001/08/27 04:47:23 user57 Exp $ +# $Id: build.sh,v 1.5 2001/08/28 00:55:52 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
[JBoss-dev] CVS update: jboss build.sh
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 ChangesPath 1.5 +10 -1 jboss/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jboss/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:22 1.4 +++ build.sh 2001/08/28 00:55:54 1.5 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.4 2001/08/27 04:47:22 user57 Exp $ +# $Id: build.sh,v 1.5 2001/08/28 00:55:54 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
[JBoss-dev] CVS update: admin build.sh
User: user57 Date: 01/08/27 17:55:52 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 admin/build.sh Index: build.sh === RCS file: /cvsroot/jboss/admin/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:23 1.4 +++ build.sh 2001/08/28 00:55:52 1.5 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.4 2001/08/27 04:47:23 user57 Exp $ +# $Id: build.sh,v 1.5 2001/08/28 00:55:52 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
[JBoss-dev] CVS update: build/jboss build.sh
User: user57 Date: 01/08/27 17:55:52 Modified:jbossbuild.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.4 +10 -1 build/jboss/build.sh Index: build.sh === RCS file: /cvsroot/jboss/build/jboss/build.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build.sh 2001/08/27 04:47:21 1.3 +++ build.sh 2001/08/28 00:55:52 1.4 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.3 2001/08/27 04:47:21 user57 Exp $ +# $Id: build.sh,v 1.4 2001/08/28 00:55:52 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
[JBoss-dev] CVS update: jbosscx build.sh
User: user57 Date: 01/08/27 17:55:52 Modified:.build.sh Log: o explicitly specifing the jaxp dom & sax factories to use (crimson) Revision ChangesPath 1.5 +10 -1 jbosscx/build.sh Index: build.sh === RCS file: /cvsroot/jboss/jbosscx/build.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.sh 2001/08/27 04:47:21 1.4 +++ build.sh 2001/08/28 00:55:52 1.5 @@ -8,7 +8,7 @@ ## ## ### == ### -# $Id: build.sh,v 1.4 2001/08/27 04:47:21 user57 Exp $ +# $Id: build.sh,v 1.5 2001/08/28 00:55:52 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
[JBoss-dev] updated build.bat scripts
I just updated the win32 build scripts (build.bat). Thanks to Sacha for putting this together for me. It mostly does what build.sh does, except it will only look back a few directories for tools\bin\ant.bat (where build.sh will go back until it finds the root). I have tested this briefly on win2k, but I belive that this will work on 98 too. As for older/newer version I can't really say. If you have trouble do one of the following: 1) Install cygwin and use build.sh (http://www.cygwin.com/) 2) Install redhat and ditch windows 3) Let me know what your version and batch syntax is and I will try to make build.bat more portable. I would suggest that everyone using win32 should do (1), even if build.bat does work. --jason ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest build.bat
User: user57 Date: 01/08/27 16:51:35 Added: .Tag: jboss_buildmagic build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath No revision No revision 1.1.2.1 +81 -0 jbosstest/Attic/build.bat ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosscx build.bat
User: user57 Date: 01/08/27 16:51:33 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jbosscx/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:33 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmx build.bat
User: user57 Date: 01/08/27 16:51:33 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jbossmx/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:33 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss build.bat
User: user57 Date: 01/08/27 16:51:35 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jboss/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:35 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq build.bat
User: user57 Date: 01/08/27 16:51:34 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jbossmq/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:34 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: contrib/varia build.bat
User: user57 Date: 01/08/27 16:51:34 Added: variabuild.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 contrib/varia/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:34 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosspool build.bat
User: user57 Date: 01/08/27 16:51:34 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jbosspool/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:34 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: contrib/jetty build.bat
User: user57 Date: 01/08/27 16:51:34 Added: jettybuild.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 contrib/jetty/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:34 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jnp build.bat
User: user57 Date: 01/08/27 16:51:34 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jnp/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:34 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss-j2ee build.bat
User: user57 Date: 01/08/27 16:51:33 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jboss-j2ee/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:33 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosssx build.bat
User: user57 Date: 01/08/27 16:51:35 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 jbosssx/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:34 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: build/jboss build.bat lcp.bat
User: user57 Date: 01/08/27 16:51:33 Modified:jbossbuild.bat Removed: jbosslcp.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.2 +81 -40build/jboss/build.bat Index: build.bat === RCS file: /cvsroot/jboss/build/jboss/build.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.bat 2001/08/11 22:33:39 1.1 +++ build.bat 2001/08/27 23:51:33 1.2 @@ -1,40 +1,81 @@ -@echo off -@if not "%ECHO%" == "" echo %ECHO% -@if "%OS%" == "Windows_NT" setlocal - -REM convenience bat file to build with - - -REM get the pwd - -@echo off -dir | find "Directory" > }1{.bat -set quote=" -echo if %%3!==! set quote=> directory.bat -rem echo set PWD=%%quote2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 %%quote%%>>directory.bat -echo set PWD=%%quote%%>>directory.bat -echo if not %%2!==! set PWD=%%PWD2>>directory.bat -echo if not %%3!==! set PWD=%%PWD3>>directory.bat -echo if not %%4!==! set PWD=%%PWD4>>directory.bat -echo if not %%5!==! set PWD=%%PWD5>>directory.bat -echo if not %%6!==! set PWD=%%PWD6>>directory.bat -echo if not %%7!==! set PWD=%%PWD7>>directory.bat -echo if not %%8!==! set PWD=%%PWD8>>directory.bat -echo if not %%9!==! set PWD=%%PWD9>>directory.bat -echo set PWD=%%PWDquote%%>>directory.bat -call }1{ - -rem tidy up and remove temp scripts and unset environment var -for %%a in (}1{ directory) do del %%a.bat -set quote= - -for %%i in (..\tools\apache\ant\lib\*.jar) do call lcp.bat %%i -for %%i in (..\tools\sun\javac\lib\*.jar) do call lcp.bat %%i -for %%i in (..\tools\dreambean\ejbdoclet\lib\*.jar) do call lcp.bat %%i -for %%i in (..\tools\planet57\buildmagic\lib\*.jar) do call lcp.bat %%i - -set CP=%CP%;%PWD%\..\..\build\classes - -echo CLASSPATH= %CP% - -java %ANT_OPTS% -classpath "%CP%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 +@echo off +REM == +REM +REM This is the main entry point for the build system. +REM +REM Users should be sure to execute this file rather than 'ant' to ensure +REM the correct version is being used with the correct configuration. +REM +REM == +REM +REM $Id: build.bat,v 1.2 2001/08/27 23:51:33 user57 Exp $ +REM +REM Authors: +REM Jason Dillon <[EMAIL PROTECTED]> +REM Sacha Labourey <[EMAIL PROTECTED]> +REM + +REM ** +REM Ignore the users classpath, cause it might mess +REM things up +REM ** + +set CLASSPATH= + + +REM ** +REM - "for" loops have been unrolled for compatibility +REM with some WIN32 systems. +REM ** + +set NAMES=tools;tools\ant;tools\apache\ant +set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. + +REM ** +REM ** + +SET EXECUTED=FALSE +for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 + +goto :EOF + + +REM ** +REM * Search for names in the subfolders * +REM ** + +:subLoop +for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 + +goto :EOF + + +REM ** +REM Test if ANT Batch file exists *** +REM ** + +:testIfExists +if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 + +goto :EOF + + +REM ** +REM ** Batch file has been found * +REM ** + +:BatchFound +if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 +set EXECUTED=TRUE + +goto :EOF + +REM ** +REM * Execute Batch file only once *** +REM ** + +:ExecuteBatch +echo Calling %1 %2 %3 %4 %5 %6 %7 %8 +call %1 %2 %3 %4 %5 %6 %7 %8 + +:end \ No newline at end of file ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual build.bat
User: user57 Date: 01/08/27 16:51:33 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 manual/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:33 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: admin build.bat
User: user57 Date: 01/08/27 16:51:33 Added: .build.bat Log: o adding updated win32 build scripts. These should work on 98+, though it has only really been tested on 2k. Revision ChangesPath 1.1 admin/build.bat Index: build.bat === @echo off REM == REM REM This is the main entry point for the build system. REM REM Users should be sure to execute this file rather than 'ant' to ensure REM the correct version is being used with the correct configuration. REM REM == REM REM $Id: build.bat,v 1.1 2001/08/27 23:51:32 user57 Exp $ REM REM Authors: REM Jason Dillon <[EMAIL PROTECTED]> REM Sacha Labourey <[EMAIL PROTECTED]> REM REM ** REM Ignore the users classpath, cause it might mess REM things up REM ** set CLASSPATH= REM ** REM - "for" loops have been unrolled for compatibility REM with some WIN32 systems. REM ** set NAMES=tools;tools\ant;tools\apache\ant set SUBFOLDERS=..;..\..;..\..\..;..\..\..\.. REM ** REM ** SET EXECUTED=FALSE for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6 goto :EOF REM ** REM * Search for names in the subfolders * REM ** :subLoop for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7 goto :EOF REM ** REM Test if ANT Batch file exists *** REM ** :testIfExists if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8 goto :EOF REM ** REM ** Batch file has been found * REM ** :BatchFound if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8 set EXECUTED=TRUE goto :EOF REM ** REM * Execute Batch file only once *** REM ** :ExecuteBatch echo Calling %1 %2 %3 %4 %5 %6 %7 %8 call %1 %2 %3 %4 %5 %6 %7 %8 :end ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException onInstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
We are volotile on crash becouse hsql is in memory in default JBoss config ! mayby just switch to hsql disk mode in development ... To have hsql write to disk instead of keeping everything in memory : 'CREATE CACHED TABLE' instead of 'CREATE TABLE' ... huh ... /peter_f ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException onInstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
on 1-08-27 23.22, marc fleury at [EMAIL PROTECTED] wrote: > I meant more inside hsql... like really hack a callback in there, the JDBC > query thing seems weak yes - the "jdbc query thing" is leagcy from how We start hsql, I looked at it then - and really quick'ely today - maybe a finalise() would react on a Linux pid ??? otherwise it means We have to have lunch with the fine peoples at HSQL or maintain a start hsql class ourself ? ... /peter_f ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] RE: [JBoss-user] BindException on InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
no no no... I didn't mean THAT native, like going at the OS specific layer. I meant more inside hsql... like really hack a callback in there, the JDBC query thing seems weak marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Peter |Fagerlund |Sent: Monday, August 27, 2001 5:13 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] RE: [JBoss-user] BindException on |InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package | | |> go native? | |maybe a JbossShutdown.sh ? killing pid's and threads + calling |java class'es |doing the necessary jdbc calls (++ cleanups) ... How did Scott fix it with |the 8083 port ??? ... | |/peter_f | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
> go native? maybe a JbossShutdown.sh ? killing pid's and threads + calling java class'es doing the necessary jdbc calls (++ cleanups) ... How did Scott fix it with the 8083 port ??? ... /peter_f ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException onInstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
If JBoss is going down in order ??? !!! , then my fix is taking care of doing a clean shutdown of hypersonic ! - if You pull the electricity from under the machine or kill pid - that do not ! allow JMX - inturn - to call stopService(); then You can not quote my shutdown fix for hypersonic ... =|;-) on 1-08-27 19.59, marc fleury at [EMAIL PROTECTED] wrote: > I put some fixmes on your code :9 > > I don't see the command really working well. > > The problem with the shutdown is that it doesn't really shutdown the db, it > leaves it running (on linux at least) and the net result is that sometimes > the properties file says it wasn't shut down properly and then it fails. It > fails because for some reason the thread never really moves forward and > reach "HSQL 1.4 started". If it does then everything is fine. Go figure. > > So what hangs the DB is the following sequence > 1- unclean shutdown of hsql > 2- restart > 3- start of hsql takes time > 3'- if 3 is finished before 4 then everything else is ok if not then... > 4- JMX boot proceeds > 5- hsql never really recovers or prints the "hsql 1.4 started" > 6- JBoss is hung in boot somehow > > Right now if you remove step 1 or 3' is true, it works, it seems the > shutdown procedure you coded in there is not foolproof. > > One thing that would really be nice would be to build a callback in the boot > sequence of hsql so that the mbean would be notified and would wait until > exiting the "preRegister" right now I put a "wait()" that works but it is > not the best solution. If you do that then you can probably code a > hardcoded shutdown, something outside the JDBC call, go native? > > marcf > > > |-Original Message- > |From: [EMAIL PROTECTED] > |[mailto:[EMAIL PROTECTED]]On Behalf Of Peter > |Fagerlund > |Sent: Monday, August 27, 2001 1:36 PM > |To: [EMAIL PROTECTED] > |Subject: Re: [JBoss-dev] RE: [JBoss-user] BindException on > |InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package > | > | > |on 1-08-27 18.52, David Jencks at [EMAIL PROTECTED] wrote: > |> Also the hang happens no matter what the next mbean is. > | > |oki so > | > |- no lingering thread ! > |- db corrupt ? (not closed by ctrl c, port:8082, util.Shutdown()) > |- hangs only on RH ? > | > |2.4 comes with data in the .script file ... it seems > |"deserialising" data at > |restart - after a unclean shutdown ? (only ?) - hangs the db ? > |throw out the > |.script file and close clean ? ... > | > |/peter_f > | there was some consern with serialised data comming back online ! ... after a clean shutdown and restart, that i not fully could reproduce on my end, back then ... so lets keep it on watch ? ... /peter_f > |___ > |Jboss-development mailing list > |[EMAIL PROTECTED] > |http://lists.sourceforge.net/lists/listinfo/jboss-development > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/build build.xml
User: user57 Date: 01/08/27 13:36:42 Removed: src/build build.xml Log: o removed extra build.xml file ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Article in Investors Business Daily
Hey, word on the street is that there is a very positive article mentioning JBoss in "IDB" one of the biggest publications for traders. Does anyone have a copy of that that they could send us? It is supposed to be either fridays' or todays. thanks marcf _ Marc Fleury, Ph.D [EMAIL PROTECTED] _ ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
In the jboss.jcml .. we switched the order the directories are checked deploy/lib deploy in the org.jboss.ejb.AutoDeployer mbean marc fleury wrote: > |> Actually I find this to be broken as well right now (working on it). If > |> there is an application in the deploy it will try deploying and > |miss because > |> the rar stuff hasn't kicked in. I think the solution there is probably > |> making the order of deployment right > |> > | > |Jason Fixed this last night > > are you sure? i don't see a difference in the autodeployer code. > > I am talking about deploying new rars before you deploy new ears... > > is that what you are talking about? what do you say has been "fixed" > > marcf > > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development > > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] RE: [JBoss-user] BindException on InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
I put some fixmes on your code :9 I don't see the command really working well. The problem with the shutdown is that it doesn't really shutdown the db, it leaves it running (on linux at least) and the net result is that sometimes the properties file says it wasn't shut down properly and then it fails. It fails because for some reason the thread never really moves forward and reach "HSQL 1.4 started". If it does then everything is fine. Go figure. So what hangs the DB is the following sequence 1- unclean shutdown of hsql 2- restart 3- start of hsql takes time 3'- if 3 is finished before 4 then everything else is ok if not then... 4- JMX boot proceeds 5- hsql never really recovers or prints the "hsql 1.4 started" 6- JBoss is hung in boot somehow Right now if you remove step 1 or 3' is true, it works, it seems the shutdown procedure you coded in there is not foolproof. One thing that would really be nice would be to build a callback in the boot sequence of hsql so that the mbean would be notified and would wait until exiting the "preRegister" right now I put a "wait()" that works but it is not the best solution. If you do that then you can probably code a hardcoded shutdown, something outside the JDBC call, go native? marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Peter |Fagerlund |Sent: Monday, August 27, 2001 1:36 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] RE: [JBoss-user] BindException on |InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package | | |on 1-08-27 18.52, David Jencks at [EMAIL PROTECTED] wrote: |> Also the hang happens no matter what the next mbean is. | |oki so | |- no lingering thread ! |- db corrupt ? (not closed by ctrl c, port:8082, util.Shutdown()) |- hangs only on RH ? | |2.4 comes with data in the .script file ... it seems |"deserialising" data at |restart - after a unclean shutdown ? (only ?) - hangs the db ? |throw out the |.script file and close clean ? ... | |/peter_f | | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
on 1-08-27 18.52, David Jencks at [EMAIL PROTECTED] wrote: > Also the hang happens no matter what the next mbean is. oki so - no lingering thread ! - db corrupt ? (not closed by ctrl c, port:8082, util.Shutdown()) - hangs only on RH ? 2.4 comes with data in the .script file ... it seems "deserialising" data at restart - after a unclean shutdown ? (only ?) - hangs the db ? throw out the .script file and close clean ? ... /peter_f ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
|> Actually I find this to be broken as well right now (working on it). If |> there is an application in the deploy it will try deploying and |miss because |> the rar stuff hasn't kicked in. I think the solution there is probably |> making the order of deployment right |> | |Jason Fixed this last night are you sure? i don't see a difference in the autodeployer code. I am talking about deploying new rars before you deploy new ears... is that what you are talking about? what do you say has been "fixed" marcf ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
marc fleury wrote: > |The current jca stuff cannot possibly start trying to access a db until > |after autodeployer starts and autodeploys the jdbc-rar adapters. Also, the > > Actually I find this to be broken as well right now (working on it). If > there is an application in the deploy it will try deploying and miss because > the rar stuff hasn't kicked in. I think the solution there is probably > making the order of deployment right > Jason Fixed this last night > marcf > > |jca stuff makes no attempt to test for a working connection- this is not > |mentioned in the spec and might require more info we don't have > |(ConnectionSpec or ConnectionRequestInfo object). > | > |Also the hang happens no matter what the next mbean is. > | > |david jencks > | > |On 2001.08.27 10:46:08 -0400 Peter Fagerlund wrote: > |> on 1-08-27 14.34, David Jencks at [EMAIL PROTECTED] wrote: > |> > 2. Waiting a few seconds after calling the start thread in the > |> Hypersonic > |> > MBean before returning from start to the mbean server eliminates the > |> hang. > |> > |> ahhh interesting ... > |> could it be that hypersonic has not started (rebuilt itself) fully - > |> before > |> defaultDS is trying to access it ? therefore waiting resolves it ? > |> please check Your .properties file in /db/hypersonic/ for the field > |> modified= that has the value : "no" for a clean shutdown and "yes" for a > |> unclean shutdown. If "yes" and alot of data (xkb in .script file) to > |> rebuild, that would take some time ... > |> > |> /peter_f > |> > |> > |> > |> ___ > |> Jboss-development mailing list > |> [EMAIL PROTECTED] > |> http://lists.sourceforge.net/lists/listinfo/jboss-development > |> > |> > | > |___ > |Jboss-development mailing list > |[EMAIL PROTECTED] > |http://lists.sourceforge.net/lists/listinfo/jboss-development > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development > > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
|The current jca stuff cannot possibly start trying to access a db until |after autodeployer starts and autodeploys the jdbc-rar adapters. Also, the Actually I find this to be broken as well right now (working on it). If there is an application in the deploy it will try deploying and miss because the rar stuff hasn't kicked in. I think the solution there is probably making the order of deployment right marcf |jca stuff makes no attempt to test for a working connection- this is not |mentioned in the spec and might require more info we don't have |(ConnectionSpec or ConnectionRequestInfo object). | |Also the hang happens no matter what the next mbean is. | |david jencks | |On 2001.08.27 10:46:08 -0400 Peter Fagerlund wrote: |> on 1-08-27 14.34, David Jencks at [EMAIL PROTECTED] wrote: |> > 2. Waiting a few seconds after calling the start thread in the |> Hypersonic |> > MBean before returning from start to the mbean server eliminates the |> hang. |> |> ahhh interesting ... |> could it be that hypersonic has not started (rebuilt itself) fully - |> before |> defaultDS is trying to access it ? therefore waiting resolves it ? |> please check Your .properties file in /db/hypersonic/ for the field |> modified= that has the value : "no" for a clean shutdown and "yes" for a |> unclean shutdown. If "yes" and alot of data (xkb in .script file) to |> rebuild, that would take some time ... |> |> /peter_f |> |> |> |> ___ |> Jboss-development mailing list |> [EMAIL PROTECTED] |> http://lists.sourceforge.net/lists/listinfo/jboss-development |> |> | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
The current jca stuff cannot possibly start trying to access a db until after autodeployer starts and autodeploys the jdbc-rar adapters. Also, the jca stuff makes no attempt to test for a working connection- this is not mentioned in the spec and might require more info we don't have (ConnectionSpec or ConnectionRequestInfo object). Also the hang happens no matter what the next mbean is. david jencks On 2001.08.27 10:46:08 -0400 Peter Fagerlund wrote: > on 1-08-27 14.34, David Jencks at [EMAIL PROTECTED] wrote: > > 2. Waiting a few seconds after calling the start thread in the > Hypersonic > > MBean before returning from start to the mbean server eliminates the > hang. > > ahhh interesting ... > could it be that hypersonic has not started (rebuilt itself) fully - > before > defaultDS is trying to access it ? therefore waiting resolves it ? > please check Your .properties file in /db/hypersonic/ for the field > modified= that has the value : "no" for a clean shutdown and "yes" for a > unclean shutdown. If "yes" and alot of data (xkb in .script file) to > rebuild, that would take some time ... > > /peter_f > > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development > > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException onInstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
on 1-08-27 17.35, marc fleury at [EMAIL PROTECTED] wrote: > what we need is a callback from that thread. Is there such a thing in the > HSQL framework? if not we need to code that, maybe just do the wrapper HTTP stuff ouerself instead of using hypersonics wrapper class to start the db - then We could control a callback ? ... /peter_f ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] RE: [JBoss-user] BindException on InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
|-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Peter |Fagerlund |Sent: Monday, August 27, 2001 10:46 AM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] RE: [JBoss-user] BindException on |InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package | | |on 1-08-27 14.34, David Jencks at [EMAIL PROTECTED] wrote: |> 2. Waiting a few seconds after calling the start thread in the Hypersonic |> MBean before returning from start to the mbean server eliminates |the hang. | |ahhh interesting ... |could it be that hypersonic has not started (rebuilt itself) fully - before |defaultDS is trying to access it ? therefore waiting resolves it ? |please check Your .properties file in /db/hypersonic/ for the field |modified= that has the value : "no" for a clean shutdown and "yes" for a |unclean shutdown. If "yes" and alot of data (xkb in .script file) to |rebuild, that would take some time ... what we need is a callback from that thread. Is there such a thing in the HSQL framework? if not we need to code that, any takers..? was "gabor litpak" on our lists at some point he seems to be one of the developers there... marcf | |/peter_f | | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
on 1-08-27 14.34, David Jencks at [EMAIL PROTECTED] wrote: > 2. Waiting a few seconds after calling the start thread in the Hypersonic > MBean before returning from start to the mbean server eliminates the hang. ahhh interesting ... could it be that hypersonic has not started (rebuilt itself) fully - before defaultDS is trying to access it ? therefore waiting resolves it ? please check Your .properties file in /db/hypersonic/ for the field modified= that has the value : "no" for a clean shutdown and "yes" for a unclean shutdown. If "yes" and alot of data (xkb in .script file) to rebuild, that would take some time ... /peter_f ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] SQL reserved words
Hi Dain, Why not use a sequential alias with no meaning, and let the user specify a single global unique postfix in a config file if necessary (e.g. "t1", "t2", "t3", and the user can make this "t1_myunique", "t2_myunique", "t3_myunique")? -Dan On 26 Aug 01, at 23:50, Dain Sundstrom wrote: > David, > > I need create aliases when a table is used more then once in a EJB-QL query. > It is really easy to get into this situation, so aliases are always used. I > could let the db compain, but then the user would have no recourse, as > EJB-QL is currently the only way to define an ejbSelect. I looked at the > getSQLKeywords function, and I think it is a good start. We will still need > the ability to specify additional keywords, because the drivers sometimes > lie. > > Does this explain the issue more? This is only for EJB-QL, but could be > expanded to other auto-generation code like table and column name > generation. > > I have been thinking that this code should be moved back into the jdbc > connector object... but that is for another day. > > -dain > > - Original Message - > From: "David Jencks" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, August 26, 2001 11:20 PM > Subject: Re: [JBoss-dev] SQL reserved words > > > > Probably I don't understand all the issues here, > > > > > > Why not just use the fully qualified column name relation_name.column_name > > always and dispense with aliases? You can't use a reserved word for a > > relation_name anyway, so you don't really need to worry about keeping > track > > of them... the db will complain. > > > > If you do want to keep track of reserved words, there is a database > > metadata method getSQLKeywords that might be helpful. > > > > david jencks > > > > On 2001.08.26 17:52:35 -0400 Dain Sundstrom wrote: > > > Hi all, > > > > > > I have been thinking over the issue of generation of table aliases in > > > EJB-QL > > > queries, and have run into some problems. What I want to do is prevent > > > the > > > EQL-QL assembler from generating table aliases that have been already > > > used, > > > that are reserved words, or are a db object name (i.e., a table, view, > or > > > other name). I can handle the first to easily, but I can't think of a > > > way > > > to prevent collision with db objects. > > > > > > We could just tell users that they can prevent the code from generating > > > an > > > alias that is the name of a db object by adding the name to a reserved > > > word > > > list in the config file. I think this is reasonable as long as it is > > > rare. > > > > > > Then there is the issue of generating a database alias that it the same > > > as > > > an auto generated table name. This can happen because there is no > > > central > > > repository for the reserved word list. Let me explain the last claim a > > > little more. I am proposing adding a reserved word list to the > > > type-mapping > > > section section of the config file. The type mapping is selectable on a > > > per > > > bean level (newer feature). This means that each bean effectively has > > > it's > > > own datasource mapping information, and no central repository. > > > > > > Again, I think the only way around this is to have the user hand assign > > > the > > > table name and if collision persists add the table name to the reserved > > > list. > > > > > > I just don't like the idea of forcing users to do a lot of hand > > > configuration of the data mapping. I think the system should basically > > > work > > > without any jboss specific configuration of the cmp engine. > > > > > > If you have any insight into this issue, please speak-up. > > > > > > -dain > > > > > > > > > ___ > > > Jboss-development mailing list > > > [EMAIL PROTECTED] > > > http://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > > ___ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
Again it was my mistake of misreading a simple "bind" problem with the bug we are chasing. Orthogonal issues, marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of David |Jencks |Sent: Monday, August 27, 2001 8:34 AM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB |sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package | | |Hi, | |I don't think the hanging problem I'm seeing is due to a still-bound socket |because | |1. I have another slightly older jboss that does not hang when I run it |alternately with the one that does. | |2. Waiting a few seconds after calling the start thread in the Hypersonic |MBean before returning from start to the mbean server eliminates the hang. | |david jencks | |On 2001.08.27 03:59:43 -0400 Peter Fagerlund wrote: |> on 1-08-27 00.40, marc fleury at [EMAIL PROTECTED] wrote: |> |> > in my case though I do a kill -9 and see a hangup on startup due to the |> > database and it is unclear. |> |> A ctrc c or a 8083 shutdown will close the hypersonicDB clean otherwise |> the |> db might become corrupted and at the next startup hypesonicDB will try |> repair ... if that fails try move(rename) the .script file in the |> db/hypersonic folder and start again - also it seems that becouse of the |> way |> We start hypersonic - it can leave its serverSocket thread lingering |> altho |> our vm is teared down - this appears only on *nix ? ... |> |> /peter_f |> |> |> ___ |> Jboss-development mailing list |> [EMAIL PROTECTED] |> http://lists.sourceforge.net/lists/listinfo/jboss-development |> |> | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] SQL reserved words
Aha, I see your point. I think making this pluggable is a really good idea, however I'm less sure about putting the functionality into a resource adapter. The wrappers we have are for jdbc 1/2 drivers, however I think db vendors will soon release drivers that are natively jca resource adapters, since it makes really clear lots of stuff you have to guess at with jdbc 2 xa drivers about how the driver relates to a app server. I don't think we want to have to write a jca -jca wrapper. david jencks On 2001.08.27 00:50:55 -0400 Dain Sundstrom wrote: > David, > > I need create aliases when a table is used more then once in a EJB-QL > query. > It is really easy to get into this situation, so aliases are always used. > I > could let the db compain, but then the user would have no recourse, as > EJB-QL is currently the only way to define an ejbSelect. I looked at the > getSQLKeywords function, and I think it is a good start. We will still > need > the ability to specify additional keywords, because the drivers sometimes > lie. > > Does this explain the issue more? This is only for EJB-QL, but could be > expanded to other auto-generation code like table and column name > generation. > > I have been thinking that this code should be moved back into the jdbc > connector object... but that is for another day. > > -dain > > - Original Message - > From: "David Jencks" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, August 26, 2001 11:20 PM > Subject: Re: [JBoss-dev] SQL reserved words > > > > Probably I don't understand all the issues here, > > > > > > Why not just use the fully qualified column name > relation_name.column_name > > always and dispense with aliases? You can't use a reserved word for a > > relation_name anyway, so you don't really need to worry about keeping > track > > of them... the db will complain. > > > > If you do want to keep track of reserved words, there is a database > > metadata method getSQLKeywords that might be helpful. > > > > david jencks > > > > On 2001.08.26 17:52:35 -0400 Dain Sundstrom wrote: > > > Hi all, > > > > > > I have been thinking over the issue of generation of table aliases in > > > EJB-QL > > > queries, and have run into some problems. What I want to do is > prevent > > > the > > > EQL-QL assembler from generating table aliases that have been already > > > used, > > > that are reserved words, or are a db object name (i.e., a table, > view, > or > > > other name). I can handle the first to easily, but I can't think of > a > > > way > > > to prevent collision with db objects. > > > > > > We could just tell users that they can prevent the code from > generating > > > an > > > alias that is the name of a db object by adding the name to a > reserved > > > word > > > list in the config file. I think this is reasonable as long as it is > > > rare. > > > > > > Then there is the issue of generating a database alias that it the > same > > > as > > > an auto generated table name. This can happen because there is no > > > central > > > repository for the reserved word list. Let me explain the last claim > a > > > little more. I am proposing adding a reserved word list to the > > > type-mapping > > > section section of the config file. The type mapping is selectable > on a > > > per > > > bean level (newer feature). This means that each bean effectively > has > > > it's > > > own datasource mapping information, and no central repository. > > > > > > Again, I think the only way around this is to have the user hand > assign > > > the > > > table name and if collision persists add the table name to the > reserved > > > list. > > > > > > I just don't like the idea of forcing users to do a lot of hand > > > configuration of the data mapping. I think the system should > basically > > > work > > > without any jboss specific configuration of the cmp engine. > > > > > > If you have any insight into this issue, please speak-up. > > > > > > -dain > > > > > > > > > ___ > > > Jboss-development mailing list > > > [EMAIL PROTECTED] > > > http://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > > ___ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development > > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
Hi, I don't think the hanging problem I'm seeing is due to a still-bound socket because 1. I have another slightly older jboss that does not hang when I run it alternately with the one that does. 2. Waiting a few seconds after calling the start thread in the Hypersonic MBean before returning from start to the mbean server eliminates the hang. david jencks On 2001.08.27 03:59:43 -0400 Peter Fagerlund wrote: > on 1-08-27 00.40, marc fleury at [EMAIL PROTECTED] wrote: > > > in my case though I do a kill -9 and see a hangup on startup due to the > > database and it is unclear. > > A ctrc c or a 8083 shutdown will close the hypersonicDB clean otherwise > the > db might become corrupted and at the next startup hypesonicDB will try > repair ... if that fails try move(rename) the .script file in the > db/hypersonic folder and start again - also it seems that becouse of the > way > We start hypersonic - it can leave its serverSocket thread lingering > altho > our vm is teared down - this appears only on *nix ? ... > > /peter_f > > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development > > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-455735 ] proposed patch to ConfigurationService.j
Bugs item #455735, was opened at 2001-08-27 04:28 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=455735&group_id=22866 Category: JBossServer Group: v2.2.2 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: proposed patch to ConfigurationService.j Initial Comment: 128,129c128,130 < editor.setAsText(attributeValue); < Object value = editor.getValue(); --- > if(editor!=null) { > editor.setAsText(attributeValue); > Object value = editor.getValue(); 131,132c132,134 < log.debug(attributeName +" set to "+attributeValue+" in "+name); < server.setAttribute(objectName, new Attribute(attributeName, value)); --- > log.debug(attributeName +" set to >"+attributeValue+" in "+name); > server.setAttribute(objectName, new >Attribute(attributeName, value)); > } -- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=455735&group_id=22866 ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: build/jboss build.xml
User: user57 Date: 01/08/27 02:09:15 Modified:jbossbuild.xml Log: o using condition task to determin if we are win32 or unix for the run target Revision ChangesPath 1.8 +26 -11build/jboss/build.xml Index: build.xml === RCS file: /cvsroot/jboss/build/jboss/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- build.xml 2001/08/27 08:47:15 1.7 +++ build.xml 2001/08/27 09:09:14 1.8 @@ -10,7 +10,7 @@ - + @@ -481,21 +481,36 @@ - -Operating System: ${os.name} - + + + + + + + + + + + + + + - + + + + - + + + + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss-j2ee build.xml
User: user57 Date: 01/08/27 02:01:36 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.8 +2 -2 jboss-j2ee/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jboss-j2ee/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- build.xml 2001/08/27 08:30:07 1.7 +++ build.xml 2001/08/27 09:01:36 1.8 @@ -10,7 +10,7 @@ - + @@ -427,7 +427,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest build.xml
User: user57 Date: 01/08/27 02:01:38 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.4 +2 -2 jbosstest/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build.xml 2001/08/27 06:02:11 1.3 +++ build.xml 2001/08/27 09:01:38 1.4 @@ -10,7 +10,7 @@ - + @@ -1582,7 +1582,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss build.xml
User: user57 Date: 01/08/27 02:01:38 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.14 +2 -2 jboss/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jboss/build.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- build.xml 2001/08/27 08:30:07 1.13 +++ build.xml 2001/08/27 09:01:37 1.14 @@ -10,7 +10,7 @@ - + @@ -946,7 +946,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: contrib/jetty build.xml
User: user57 Date: 01/08/27 02:01:37 Modified:jettybuild.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.5 +2 -2 contrib/jetty/build.xml Index: build.xml === RCS file: /cvsroot/jboss/contrib/jetty/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 2001/08/27 04:47:23 1.4 +++ build.xml 2001/08/27 09:01:37 1.5 @@ -503,7 +503,7 @@ - + @@ -512,7 +512,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosssx build.xml
User: user57 Date: 01/08/27 02:01:37 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.6 +3 -3 jbosssx/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbosssx/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.xml 2001/08/27 04:47:24 1.5 +++ build.xml 2001/08/27 09:01:37 1.6 @@ -10,7 +10,7 @@ - + @@ -658,7 +658,7 @@ - + @@ -667,7 +667,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmx build.xml
User: user57 Date: 01/08/27 02:01:36 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.6 +3 -3 jbossmx/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbossmx/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.xml 2001/08/27 04:47:23 1.5 +++ build.xml 2001/08/27 09:01:36 1.6 @@ -10,7 +10,7 @@ - + @@ -572,7 +572,7 @@ - + @@ -581,7 +581,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual build.xml
User: user57 Date: 01/08/27 02:01:36 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.8 +3 -3 manual/build.xml Index: build.xml === RCS file: /cvsroot/jboss/manual/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- build.xml 2001/08/27 04:47:22 1.7 +++ build.xml 2001/08/27 09:01:36 1.8 @@ -10,7 +10,7 @@ - + @@ -354,7 +354,7 @@ - + @@ -363,7 +363,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosspool build.xml
User: user57 Date: 01/08/27 02:01:37 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.8 +3 -3 jbosspool/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbosspool/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- build.xml 2001/08/27 04:47:22 1.7 +++ build.xml 2001/08/27 09:01:37 1.8 @@ -10,7 +10,7 @@ - + @@ -569,7 +569,7 @@ - + @@ -578,7 +578,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosscx build.xml
User: user57 Date: 01/08/27 02:01:36 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.6 +3 -3 jbosscx/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbosscx/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.xml 2001/08/27 04:47:21 1.5 +++ build.xml 2001/08/27 09:01:36 1.6 @@ -10,7 +10,7 @@ - + @@ -481,7 +481,7 @@ - + @@ -490,7 +490,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jnp build.xml
User: user57 Date: 01/08/27 02:01:36 Modified:.build.xml Log: o help targets use taskname="help" o clobbering build.log on all modules Revision ChangesPath 1.5 +3 -3 jnp/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jnp/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 2001/08/27 04:47:22 1.4 +++ build.xml 2001/08/27 09:01:36 1.5 @@ -10,7 +10,7 @@ - + @@ -491,7 +491,7 @@ - + @@ -500,7 +500,7 @@ - + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development