diff --git a/build/README b/build/README.txt similarity index 53% rename from build/README rename to build/README.txt index 24eb4f2e..4cd8d0c3 100644 --- a/build/README +++ b/build/README.txt @@ -1,52 +1,29 @@ This is the README file for the Helma build files as part of the Helma Object Publisher. - - -The build directory consists of the following files: - - ant.jar - build.bat - build.sh - build.xml - crimson.jar - jaxp.jar - README - - PREREQUISITES ============= -The Helma build script is using a software called Ant. Ant is a build system that was developed for the Jakarta Tomcat project. For more information about Ant, see . +The Helma build script is uses Apache Ant. +For more information about Ant, see . -To run Ant, you also need JDK 1.3 or higher . - -For checking out the source files from Helma's CVS you also need a local installation of a CVS command-line client. More information about CVS at . +For checking out the source files from Helma's CVS you also need a CVS client. +More information about CVS at . STARTING BUILD ============== -The build system is started by invoking the shell script appropriate to your platform, ie. build.sh for *nix (Linux, NetBSD etc.) and build.bat for Windows systems. You need to modify the script and set the JAVA_HOME to fit your system. +The build system is started by invoking the shell script appropriate to your +platform, ie. build.sh for *nix (Linux, NetBSD etc.) and build.bat for Windows +systems. You need to modify the script and set the JAVA_HOME to fit your system. The generic syntax is - ./build target + ant target The parameter "target" specifies one of the build targets listed below. -BUILD A SNAPSHOT -================ - -To build a helma.jar with the most up-to-date version of helma yourself you need to run - - ./build checkout - -and - - ./build snapshot - - BUILD TARGETS ============= diff --git a/build/ant.jar b/build/ant.jar deleted file mode 100644 index ba757dfc..00000000 Binary files a/build/ant.jar and /dev/null differ diff --git a/build/build.bat b/build/build.bat deleted file mode 100644 index 426d6069..00000000 --- a/build/build.bat +++ /dev/null @@ -1,48 +0,0 @@ -@echo off - -set TARGET=%1% -REM set JAVA_HOME=c:\programme\jdk13 - -REM -------------------------------------------- -REM No need to edit anything past here -REM -------------------------------------------- - -set BUILDFILE=build.xml -if "%TARGET%" == "" goto setdist -goto cont1 - -:cont1 -if not "%2%" == "" goto setapp -goto final - -:setdist -set TARGET=usage -goto cont1 - -:setapp -set APPNAME=-Dapplication=%2% -goto final - -:final - -if "%JAVA_HOME%" == "" goto javahomeerror - -set CP=%CLASSPATH%;ant.jar;jaxp.jar;crimson.jar -if exist "%JAVA_HOME%\lib\tools.jar" set CP=%CP%;%JAVA_HOME%\lib\tools.jar - -echo Classpath: "%CP%" -echo JAVA_HOME: "%JAVA_HOME%" - -"%JAVA_HOME%\bin\java.exe" -classpath "%CP%" %APPNAME% org.apache.tools.ant.Main -buildfile %BUILDFILE% %TARGET% - -goto end - - -REM -----------ERROR------------- -:javahomeerror -echo "ERROR: JAVA_HOME not found in your environment." -echo "Please, set the JAVA_HOME variable in your environment to match the" -echo "location of the Java Virtual Machine you want to use." - -:end - diff --git a/build/build.sh b/build/build.sh deleted file mode 100755 index c7116e30..00000000 --- a/build/build.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -# export JAVA_HOME=/usr/lib/j2sdk1.4.0 - -#-------------------------------------------- -# No need to edit anything past here -#-------------------------------------------- -if test -z "${JAVA_HOME}" ; then - echo "ERROR: JAVA_HOME not found in your environment." - echo "Please, set the JAVA_HOME variable in your environment to match the" - echo "location of the Java Virtual Machine you want to use." - exit -fi - -if test -f ${JAVA_HOME}/lib/tools.jar ; then - CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar -fi - -if test -n "${2}" ; then - APPNAME=-Dapplication=${2} -fi - -CP=${CLASSPATH}:ant.jar:jaxp.jar:../lib/crimson.jar - -echo "Classpath: ${CP}" -echo "JAVA_HOME: ${JAVA_HOME}" - -BUILDFILE=build.xml - -${JAVA_HOME}/bin/java -classpath ${CP} ${APPNAME} org.apache.tools.ant.Main -buildfile ${BUILDFILE} ${1} - diff --git a/build/crimson.jar b/build/crimson.jar deleted file mode 100644 index 2ad58524..00000000 Binary files a/build/crimson.jar and /dev/null differ diff --git a/build/jaxp.jar b/build/jaxp.jar deleted file mode 100644 index b881783e..00000000 Binary files a/build/jaxp.jar and /dev/null differ