From 39e473912e8b597326fb2cbf2772e123b33e0d44 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 8 Nov 2010 10:48:34 +0800 Subject: [PATCH] remove obsolete build.xml file --- org.adempiere.install/Adempiere/RUN_setup.bat | 74 ------ org.adempiere.install/Adempiere/RUN_setup.sh | 39 ---- .../Adempiere/RUN_silentsetup.bat | 63 ----- .../Adempiere/RUN_silentsetup.sh | 41 ---- .../Adempiere/RUN_update.bat | 21 -- org.adempiere.install/Adempiere/RUN_update.sh | 21 -- org.adempiere.install/Adempiere/build.xml | 178 -------------- org.adempiere.install/RUN_build.bat | 19 -- org.adempiere.install/RUN_build.sh | 18 -- org.adempiere.install/build.xml | 217 ------------------ org.adempiere.report.jasper.swing/build.xml | 36 --- org.adempiere.ui.swing/build.xml | 37 --- 12 files changed, 764 deletions(-) delete mode 100644 org.adempiere.install/Adempiere/RUN_setup.bat delete mode 100644 org.adempiere.install/Adempiere/RUN_setup.sh delete mode 100644 org.adempiere.install/Adempiere/RUN_silentsetup.bat delete mode 100644 org.adempiere.install/Adempiere/RUN_silentsetup.sh delete mode 100644 org.adempiere.install/Adempiere/RUN_update.bat delete mode 100644 org.adempiere.install/Adempiere/RUN_update.sh delete mode 100644 org.adempiere.install/Adempiere/build.xml delete mode 100644 org.adempiere.install/RUN_build.bat delete mode 100644 org.adempiere.install/RUN_build.sh delete mode 100644 org.adempiere.install/build.xml delete mode 100644 org.adempiere.report.jasper.swing/build.xml delete mode 100644 org.adempiere.ui.swing/build.xml diff --git a/org.adempiere.install/Adempiere/RUN_setup.bat b/org.adempiere.install/Adempiere/RUN_setup.bat deleted file mode 100644 index 4f3bf349d6..0000000000 --- a/org.adempiere.install/Adempiere/RUN_setup.bat +++ /dev/null @@ -1,74 +0,0 @@ -@Title Install Adempiere Server -@Rem $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.bat,v 1.19 2005/09/08 21:54:12 jjanke Exp $ -@Echo off - - -@if not "%JAVA_HOME%" == "" goto JAVA_HOME_OK -@Set JAVA=java -@Echo JAVA_HOME is not set. -@Echo You may not be able to start the required Setup window !! -@Echo Set JAVA_HOME to the directory of your local 1.5 JDK. -@Echo If you experience problems, run utils/WinEnv.js -@Echo Example: cscript utils\WinEnv.js C:\Adempiere "C:\Program Files\Java\jdk1.5.0_04" -goto START - -:JAVA_HOME_OK -@Set JAVA=%JAVA_HOME%\bin\java - - -:START -@Echo ======================================= -@Echo Starting Setup Dialog ... -@Echo ======================================= -@SET CP=lib\CInstall.jar;lib\Adempiere.jar;lib\CCTools.jar;lib\oracle.jar;lib\jboss.jar;lib\postgresql.jar; - -@Rem Trace Level Parameter, e.g. SET ARGS=ALL -@SET ARGS=CONFIG - -@Rem To test the OCI driver, add -DTestOCI=Y to the command - example: -@Rem %JAVA% -classpath %CP% -DADEMPIERE_HOME=%ADEMPIERE_HOME% -DTestOCI=Y org.compiere.install.Setup %ARGS% - -@"%JAVA%" -classpath %CP% -DADEMPIERE_HOME=%ADEMPIERE_HOME% org.compiere.install.Setup %ARGS% -@Echo ErrorLevel = %ERRORLEVEL% -@IF NOT ERRORLEVEL = 1 GOTO NEXT -@Echo *************************************** -@Echo Check the error message above. -@Echo *************************************** -@Echo Make sure that the environment is set correctly! -@Echo Set environment variable JAVA_HOME manually -@Echo or use WinEnv.js in the util directory -@Echo *************************************** -@Pause -@Exit - - -:NEXT - -cd utils - -@Rem =================================== -@Rem Sign Database Build -@Rem =================================== -@Call RUN_SignDatabaseBuild.bat > NUL 2>&1 - -@Rem =================================== -@Rem Setup Adempiere Environment -@Rem =================================== -@Call RUN_WinEnv.bat - -@Rem =================================== -@Rem Run Ant directly -@Rem =================================== -@Rem %JAVA% -classpath lib\CInstall.jar; -DADEMPIERE_HOME=%ADEMPIERE_HOME% -Dant.home="." org.apache.tools.ant.launch.Launcher setup - - -@Rem ================================ -@Rem Test local Connection -@Rem ================================ -@Rem %JAVA% -classpath lib\Adempiere.jar;lib\AdempiereCLib.jar org.compiere.install.ConnectTest localhost - - -@Echo . -@Echo For problems, check log file in base directory -@Rem Wait 10 second -@PING 1.1.1.1 -n 1 -w 10000 > NUL diff --git a/org.adempiere.install/Adempiere/RUN_setup.sh b/org.adempiere.install/Adempiere/RUN_setup.sh deleted file mode 100644 index d21afd87ef..0000000000 --- a/org.adempiere.install/Adempiere/RUN_setup.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# -echo Install Adempiere Server -# $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.sh,v 1.19 2005/09/08 21:54:12 jjanke Exp $ - -if [ $JAVA_HOME ]; then - JAVA=$JAVA_HOME/bin/java - KEYTOOL=$JAVA_HOME/bin/keytool -else - JAVA=java - KEYTOOL=keytool - echo JAVA_HOME is not set. - echo You may not be able to start the Setup - echo Set JAVA_HOME to the directory of your local JDK. -fi - - -echo =================================== -echo Setup Dialog -echo =================================== - -# OSGi: -$JAVA -Dosgi.compatibility.bootdelegation=true -jar osgi/org.eclipse.osgi_3.6.0.v20100517.jar -clean -console -install osgi -configuration osgi/client -application org.adempiere.Install - - -echo =================================== -echo Make .sh executable & set Env -echo =================================== -chmod -R a+x *.sh -find . -name '*.sh' -exec chmod a+x '{}' \; - -# Sign database build -# cd utils -#. ./RUN_SignDatabaseBuild.sh - -. utils/RUN_UnixEnv.sh - -echo . -echo For problems, check log file in base directory diff --git a/org.adempiere.install/Adempiere/RUN_silentsetup.bat b/org.adempiere.install/Adempiere/RUN_silentsetup.bat deleted file mode 100644 index f4a7db3aed..0000000000 --- a/org.adempiere.install/Adempiere/RUN_silentsetup.bat +++ /dev/null @@ -1,63 +0,0 @@ -@Title Install Adempiere Server -@Rem $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.bat,v 1.19 2005/09/08 21:54:12 jjanke Exp $ -@Echo off - - -@if not "%JAVA_HOME%" == "" goto JAVA_HOME_OK -@Set JAVA=java -@Echo JAVA_HOME is not set. -@Echo You may not be able to start the required Setup window !! -@Echo Set JAVA_HOME to the directory of your local 1.5 JDK. -@Echo If you experience problems, run utils/WinEnv.js -@Echo Example: cscript utils\WinEnv.js C:\Adempiere "C:\Program Files\Java\jdk1.5.0_04" -goto START - -:JAVA_HOME_OK -@Set JAVA=%JAVA_HOME%\bin\java - - -:START -@Echo ======================================= -@Echo Starting Setup ... -@Echo ======================================= -@SET CP=lib\CInstall.jar;lib\Adempiere.jar;lib\CCTools.jar;lib\oracle.jar;lib\jboss.jar;lib\postgresql.jar; - -@Rem Trace Level Parameter, e.g. SET ARGS=ALL -@SET ARGS=CONFIG - -@Rem To test the OCI driver, add -DTestOCI=Y to the command - example: -@Rem %JAVA% -classpath %CP% -DADEMPIERE_HOME=%ADEMPIERE_HOME% -DTestOCI=Y org.compiere.install.Setup %ARGS% - -@"%JAVA%" -classpath %CP% -DADEMPIERE_HOME=%ADEMPIERE_HOME% org.compiere.install.SilentSetup %ARGS% -@Echo ErrorLevel = %ERRORLEVEL% -@IF NOT ERRORLEVEL = 1 GOTO NEXT -@Echo *************************************** -@Echo Check the error message above. -@Echo *************************************** -@Echo Make sure that the environment is set correctly! -@Echo Set environment variable JAVA_HOME manually -@Echo or use WinEnv.js in the util directory -@Echo *************************************** -@Rem Wait 10 second -@PING 1.1.1.1 -n 1 -w 10000 > NUL -@Exit - - -:NEXT - -cd utils - -@Rem =================================== -@Rem Sign Database Build -@Rem =================================== -@Call RUN_SignDatabaseBuild.bat > NUL 2>&1 - -@Rem =================================== -@Rem Setup Adempiere Environment -@Rem =================================== -@Call RUN_WinEnv.bat - -@Echo . -@Echo For problems, check log file in base directory -@Rem Wait 10 second -@PING 1.1.1.1 -n 1 -w 10000 > NUL diff --git a/org.adempiere.install/Adempiere/RUN_silentsetup.sh b/org.adempiere.install/Adempiere/RUN_silentsetup.sh deleted file mode 100644 index f4fe2bd39c..0000000000 --- a/org.adempiere.install/Adempiere/RUN_silentsetup.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# -echo Install Adempiere Server -# $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.sh,v 1.19 2005/09/08 21:54:12 jjanke Exp $ - -if [ $JAVA_HOME ]; then - JAVA=$JAVA_HOME/bin/java - KEYTOOL=$JAVA_HOME/bin/keytool -else - JAVA=java - KEYTOOL=keytool - echo JAVA_HOME is not set. - echo You may not be able to start the Setup - echo Set JAVA_HOME to the directory of your local JDK. -fi - - -echo =================================== -echo Starting Setup ... -echo =================================== -CP=lib/CInstall.jar:lib/Adempiere.jar:lib/CCTools.jar:lib/oracle.jar:lib/jboss.jar:lib/postgresql.jar: - -# Trace Level Parameter, e.g. ARGS=ALL -ARGS=CONFIG - -$JAVA -classpath $CP -DADEMPIERE_HOME=$ADEMPIERE_HOME org.compiere.install.SilentSetup $ARGS - -echo =================================== -echo Make .sh executable & set Env -echo =================================== -chmod -R a+x *.sh -find . -name '*.sh' -exec chmod a+x '{}' \; - -# Sign database build -cd utils -. ./RUN_SignDatabaseBuild.sh - -. utils/RUN_UnixEnv.sh - -echo . -echo For problems, check log file in base directory diff --git a/org.adempiere.install/Adempiere/RUN_update.bat b/org.adempiere.install/Adempiere/RUN_update.bat deleted file mode 100644 index 641facfa83..0000000000 --- a/org.adempiere.install/Adempiere/RUN_update.bat +++ /dev/null @@ -1,21 +0,0 @@ -@Title Install Adempiere Server -@Rem $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.bat,v 1.19 2005/09/08 21:54:12 jjanke Exp $ -@Echo off - - -@if not "%JAVA_HOME%" == "" goto JAVA_HOME_OK -@Set JAVA=java -@Echo JAVA_HOME is not set. -@Echo You may not be able to start the required Setup window !! -@Echo Set JAVA_HOME to the directory of your local 1.5 JDK. -@Echo If you experience problems, run utils/WinEnv.js -@Echo Example: cscript utils\WinEnv.js C:\Adempiere "C:\Program Files\Java\jdk1.5.0_04" -goto START - -:JAVA_HOME_OK -@Set JAVA=%JAVA_HOME%\bin\java - -:START -@"%JAVA%" -classpath lib\CInstall.jar; -DADEMPIERE_HOME=%ADEMPIERE_HOME% -Dant.home="." org.apache.tools.ant.launch.Launcher update -@Rem Sleep 10 -@CHOICE /C YN /T 10 /D N > NUL \ No newline at end of file diff --git a/org.adempiere.install/Adempiere/RUN_update.sh b/org.adempiere.install/Adempiere/RUN_update.sh deleted file mode 100644 index 4b95c70eee..0000000000 --- a/org.adempiere.install/Adempiere/RUN_update.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -echo Install Adempiere Server -# $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.sh,v 1.19 2005/09/08 21:54:12 jjanke Exp $ - -if [ $JAVA_HOME ]; then - JAVA=$JAVA_HOME/bin/java - KEYTOOL=$JAVA_HOME/bin/keytool -else - JAVA=java - KEYTOOL=keytool - echo JAVA_HOME is not set. - echo You may not be able to start the Setup - echo Set JAVA_HOME to the directory of your local JDK. -fi - -#echo =================================== -#echo Update Adempiere Server Environment -#echo =================================== -CP=lib/CInstall.jar:lib/Adempiere.jar:lib/CCTools.jar:lib/oracle.jar:lib/jboss.jar:lib/postgresql.jar: -$JAVA -classpath $CP -DADEMPIERE_HOME=$ADEMPIERE_HOME -Dant.home="." org.apache.tools.ant.launch.Launcher update diff --git a/org.adempiere.install/Adempiere/build.xml b/org.adempiere.install/Adempiere/build.xml deleted file mode 100644 index 3cfadf80b4..0000000000 --- a/org.adempiere.install/Adempiere/build.xml +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - This buildfile is used to setup the Adempiere Environment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/org.adempiere.install/RUN_build.bat b/org.adempiere.install/RUN_build.bat deleted file mode 100644 index 5284a14057..0000000000 --- a/org.adempiere.install/RUN_build.bat +++ /dev/null @@ -1,19 +0,0 @@ -@Title Build ADempiere Installer -@Echo off - -@CALL ..\utils_dev\myDevEnv.bat -@IF NOT %ADEMPIERE_ENV%==Y GOTO NOBUILD - -@echo Cleanup ... -@"%JAVA_HOME%\bin\java" -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main clean - -@echo Building ... -@"%JAVA_HOME%\bin\java" -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main - -@Echo Done ... -@sleep 60 -@exit - -:NOBUILD -@Echo Check myDevEnv.bat (copy from myDevEnvTemplate.bat) -@Pause diff --git a/org.adempiere.install/RUN_build.sh b/org.adempiere.install/RUN_build.sh deleted file mode 100644 index fe4e763dc5..0000000000 --- a/org.adempiere.install/RUN_build.sh +++ /dev/null @@ -1,18 +0,0 @@ -# Module compiling script -# Ported from Windows script Marek Mosiewicz - - -SAVED_DIR=`pwd` #save current dir -cd `dirname $0`/../utils_dev #change dir to place where script resides - doesn't work with sym links -UTILS_DEV=`pwd` #this is ADempiere source -cd $SAVED_DIR #back to the saved directory - -./$UTILS_DEV/myDevEnv.sh #call environment -echo done -if [ ! $ADEMPIERE_ENV==Y ] ; then - echo "Can't set development environment - check myDevEnv.sh" - exit 1 -fi - -echo running Ant -$JAVA_HOME/bin/java -Dant.home="." $ANT_PROPERTIES org.apache.tools.ant.Main diff --git a/org.adempiere.install/build.xml b/org.adempiere.install/build.xml deleted file mode 100644 index ac3bce1a17..0000000000 --- a/org.adempiere.install/build.xml +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - This buildfile is used to create the Adempiere installer. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AdempiereHome - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *Adempiere_${env.ADEMPIERE_VERSION_FILE}.tar.gz - - - *Adempiere_${env.ADEMPIERE_VERSION_FILE}.zip - - - - - - - - - - - - - - - - diff --git a/org.adempiere.report.jasper.swing/build.xml b/org.adempiere.report.jasper.swing/build.xml deleted file mode 100644 index 268ea9e1c7..0000000000 --- a/org.adempiere.report.jasper.swing/build.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - This buildfile is used to build the client subproject within - the Adempiere project. - - - - - - - - - - - - - - - - - - - - - diff --git a/org.adempiere.ui.swing/build.xml b/org.adempiere.ui.swing/build.xml deleted file mode 100644 index 371d7fc393..0000000000 --- a/org.adempiere.ui.swing/build.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - This buildfile is used to build the client subproject within - the Adempiere project. - - - - - - - - - - - - - - - - - - - - -