User: user57 Date: 02/02/27 20:40:14 Modified: jbossmx build.bat build.sh build.xml Log: o fixed build files Revision Changes Path 1.2 +94 -94 build/jbossmx/build.bat Index: build.bat =================================================================== RCS file: /cvsroot/jboss/build/jbossmx/build.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.bat 5 Feb 2002 01:50:32 -0000 1.1 +++ build.bat 28 Feb 2002 04:40:14 -0000 1.2 @@ -1,94 +1,94 @@ -@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 2002/02/05 01:50:32 user57 Exp $ -REM -REM Authors: -REM Jason Dillon <[EMAIL PROTECTED]> -REM Sacha Labourey <[EMAIL PROTECTED]> -REM - -REM ****************************************************** -REM Ignore the ANT_HOME variable: we want to use *our* -REM ANT version and associated JARs. -REM ****************************************************** -REM Ignore the users classpath, cause it might mess -REM things up -REM ****************************************************** - -SETLOCAL - -set CLASSPATH= -set ANT_HOME= -set JAXP_DOM_FACTORY=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl -set JAXP_SAX_FACTORY=org.apache.crimson.jaxp.SAXParserFactoryImpl -REM set JAXP_DOM_FACTORY=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -REM set JAXP_SAX_FACTORY=org.apache.xerces.jaxp.SAXParserFactoryImpl - -set ANT_OPTS=-Djava.protocol.handler.pkgs=planet57.net.protocol -Djavax.xml.parsers.DocumentBuilderFactory=%JAXP_DOM_FACTORY% -Djavax.xml.parsers.SAXParserFactory=%JAXP_SAX_FACTORY% -Dbuild.script=build.bat - -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 - -pause +@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 2002/02/28 04:40:14 user57 Exp $ +REM +REM Authors: +REM Jason Dillon <[EMAIL PROTECTED]> +REM Sacha Labourey <[EMAIL PROTECTED]> +REM + +REM ****************************************************** +REM Ignore the ANT_HOME variable: we want to use *our* +REM ANT version and associated JARs. +REM ****************************************************** +REM Ignore the users classpath, cause it might mess +REM things up +REM ****************************************************** + +SETLOCAL + +set CLASSPATH= +set ANT_HOME= +set JAXP_DOM_FACTORY=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl +set JAXP_SAX_FACTORY=org.apache.crimson.jaxp.SAXParserFactoryImpl +REM set JAXP_DOM_FACTORY=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl +REM set JAXP_SAX_FACTORY=org.apache.xerces.jaxp.SAXParserFactoryImpl + +set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Djavax.xml.parsers.DocumentBuilderFactory=%JAXP_DOM_FACTORY% -Djavax.xml.parsers.SAXParserFactory=%JAXP_SAX_FACTORY% -Dbuild.script=build.bat + +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 + +pause 1.2 +2 -2 build/jbossmx/build.sh Index: build.sh =================================================================== RCS file: /cvsroot/jboss/build/jbossmx/build.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.sh 5 Feb 2002 01:50:32 -0000 1.1 +++ build.sh 28 Feb 2002 04:40:14 -0000 1.2 @@ -8,7 +8,7 @@ ## ## ### ====================================================================== ### -# $Id: build.sh,v 1.1 2002/02/05 01:50:32 user57 Exp $ +# $Id: build.sh,v 1.2 2002/02/28 04:40:14 user57 Exp $ PROGNAME=`basename $0` DIRNAME=`dirname $0` @@ -130,7 +130,7 @@ fi # need to specify planet57/buildmagic protocol handler package - ANT_OPTS="$ANT_OPTS -Djava.protocol.handler.pkgs=planet57.net.protocol" + ANT_OPTS="$ANT_OPTS -Djava.protocol.handler.pkgs=org.jboss.net.protocol" # setup some build properties ANT_OPTS="$ANT_OPTS -Dbuild.script=$0" 1.3 +2 -2 build/jbossmx/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/build/jbossmx/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.xml 6 Feb 2002 01:01:26 -0000 1.2 +++ build.xml 28 Feb 2002 04:40:14 -0000 1.3 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project [ - <!ENTITY buildmagic SYSTEM "resource://planet57/tools/buildmagic/common.xml"> + <!ENTITY buildmagic SYSTEM "resource://org/jboss/tools/buildmagic/common.xml"> ]> <!-- ====================================================================== --> @@ -12,7 +12,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.2 2002/02/06 01:01:26 user57 Exp $ --> +<!-- $Id: build.xml,v 1.3 2002/02/28 04:40:14 user57 Exp $ --> <project default="main" name="JBossMX/Build">
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development