remove obsolete build.xml file

This commit is contained in:
Heng Sin Low 2010-11-08 10:48:34 +08:00
parent a527ea246b
commit 39e473912e
12 changed files with 0 additions and 764 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,178 +0,0 @@
<!-- ====================================================== -->
<!-- Adempiere Distribution Setup -->
<!-- ====================================================== -->
<!-- $Header: /cvs/adempiere/install/Adempiere/build.xml,v 1.4 2006/07/03 16:51:31 jjanke Exp $-->
<project name="setup" default="setup" basedir=".">
<description>
This buildfile is used to setup the Adempiere Environment.
</description>
<property environment="env" />
<property name="envFile" value="AdempiereEnv.properties" />
<property name="server" value="nas" />
<patternset id="manifest.exclude">
<exclude name="META-INF/*.DSA"/>
<exclude name="META-INF/*.RSA"/>
<exclude name="META-INF/*.SF"/>
<exclude name="META-INF/MANIFEST.MF"/>
<exclude name="META-INF/INDEX.LIST"/>
</patternset>
<!-- ==================================================== -->
<!-- Init -->
<!-- ==================================================== -->
<target name="setupInit"
description="initialization target">
<echo message="Adempiere Server Setup ===================" />
<echo message="ADEMPIERE_HOME = ${env.ADEMPIERE_HOME}" />
<!-- create the time stamp and environment -->
<tstamp />
<available file="${envFile}" property="envFileExists" />
<fail message="**** RUN_setup was not successful - please re-run ****" unless="envFileExists" />
<property file="${envFile}"/>
<filter filtersfile="${envFile}" />
<echo message="Environment = ${envFile}" />
<echo message="Java VM = ${ADEMPIERE_JAVA_TYPE}" />
<echo message="Database = ${ADEMPIERE_DB_TYPE}" />
<!-- Environment variables -->
<condition property="isWindows">
<os family="windows" />
</condition>
<echo message="Windows=${isWindows}" />
<copy file="osgi/plugins/org.adempiere.tomcat.config/META-INF/tomcat/serverTemplate.xml"
tofile="osgi/plugins/org.adempiere.tomcat.config/META-INF/tomcat/server.xml" filtering="yes" overwrite="yes"/>
</target>
<!-- ==================================================== -->
<!-- Windows Setup -->
<!-- ==================================================== -->
<target name="setupWin" depends="setupInit" if="isWindows"
description="Windows Setup">
<!-- Filter files No Overwrite -->
<copy file="utils/myDBcopyTemplate.bat"
tofile="utils/myDBcopy.bat" filtering="yes" overwrite="no" />
<!-- Filter files Overwrite -->
<copy file="utils/myEnvironmentTemplate.bat"
tofile="utils/myEnvironment.bat" filtering="yes" overwrite="yes" />
<copy file="utils/RUN_GetAdempiereTemplate.bat"
tofile="utils/RUN_GetAdempiere.bat" filtering="yes" overwrite="yes" />
<copy file="utils/RUN_PutExportTemplate.bat"
tofile="utils/RUN_PutExport.bat" filtering="yes" overwrite="yes" />
<copy file="utils/RUN_WinEnvTemplate.bat"
tofile="utils/RUN_WinEnv.bat" filtering="yes" overwrite="yes" />
<delete>
<fileset dir="." includes="**/*.sh" excludes="RUN_Adempiere.sh" />
</delete>
</target>
<!-- ==================================================== -->
<!-- Non Windows Setup -->
<!-- ==================================================== -->
<target name="setupNonWin" depends="setupInit" unless="isWindows"
description="Non Windows Setup">
<!-- Filter files No Overwrite -->
<copy file="utils/myDBcopyTemplate.sh"
tofile="utils/myDBcopy.sh" filtering="yes" overwrite="no" />
<!-- Filter files Overwrite -->
<copy file="utils/myEnvironmentTemplate.sh"
tofile="utils/myEnvironment.sh" filtering="yes" overwrite="yes" />
<copy file="utils/RUN_GetAdempiereTemplate.sh"
tofile="utils/RUN_GetAdempiere.sh" filtering="yes" overwrite="yes" />
<copy file="utils/RUN_PutExportTemplate.sh"
tofile="utils/RUN_PutExport.sh" filtering="yes" overwrite="yes" />
<copy file="utils/RUN_UnixEnvTemplate.sh"
tofile="utils/RUN_UnixEnv.sh" filtering="yes" overwrite="yes" />
<!-- Fix OS stuff -->
<fixcrlf srcdir="." eol="lf" eof="remove" includes="**/*.sh" />
<chmod dir="." perm="ugo+x" includes="**/*.sh" />
<delete>
<fileset dir="." includes="*.bat" excludes="RUN_Adempiere.bat" />
<fileset dir="utils" includes="**/*.bat" />
</delete>
</target>
<!-- ==================================================== -->
<!-- Setup (Main) -->
<!-- ==================================================== -->
<target name="setup" depends="setupInit, setupWin, setupNonWin"
description="Setup Adempiere">
</target>
<!-- ==================================================== -->
<!-- Shutting down server, setting up adempiere and importing database -->
<!-- ==================================================== -->
<target name="cleanall" description="shutdown,settingup and importing database">
<echo message="================Adempiere Server Shutdown ===================" />
<echo message="OS = ${os.name}" />
<!-- Shutting down server by calling the RUN_Stop.bat or RUN_Stop.sh script in Adempiere dir -->
<exec dir="${env.ADEMPIERE_HOME}\utils" executable="cmd" os="Windows XP, Windows 2000, Windows NT" >
<arg line="/c RUN_Stop.bat"/>
</exec>
<exec dir="${env.ADEMPIERE_HOME}\utils" executable="/bin/sh" os="SunOS,unix">
<arg value="-c" />
<arg value="RUN_Stop.sh" />
</exec>
<echo message="================Adempiere Server Shutdown Complete===================" />
<sleep seconds="2"/>
<!-- Deleting all the log files, jboss dir and log dir in ${env.ADEMPIERE_HOME} directory -->
<delete>
<fileset dir="${env.ADEMPIERE_HOME}" includes="*.log" />
</delete>
<delete dir="${env.ADEMPIERE_HOME}\jboss" />
<delete dir="${env.ADEMPIERE_HOME}\log" />
<echo message="=========== ftp to nas and download the current build==============="/>
<ftp action= "get"
server="${server}"
userid="guest"
password="">
<fileset dir="${env.ADEMPIERE_HOME}">
<include name="**/Adempiere_253d.zip"/>
</fileset>
</ftp>
<!-- unzip and overwrite them and delete the downloaded directory -->
<unzip src="${env.ADEMPIERE_HOME}/Disk 1/Adempiere_253a.zip" dest="${env.ADEMPIERE_HOME}\..\" overwrite="yes" />
<delete dir="${env.ADEMPIERE_HOME}/Disk 1"/>
<echo message="======================Setup adempiere==============================" />
<ant inheritAll="false" dir="${env.ADEMPIERE_HOME}" target="setup"/>
<!-- Importing the database -->
<exec dir="${env.ADEMPIERE_HOME}\utils" executable="cmd" os="Windows XP, Windows 2000, Windows NT" >
<arg line="/c RUN_ImportAdempiere.bat"/>
</exec>
<exec dir="${env.ADEMPIERE_HOME}\utils" executable="/bin/sh" os="SunOS,unix">
<arg value="-c" />
<arg value="RUN_ImportAdempiere.sh" />
</exec>
</target>
</project>

View File

@ -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

View File

@ -1,18 +0,0 @@
# Module compiling script
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
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

View File

@ -1,217 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ============================================= -->
<!-- Adempiere Installer build file -->
<!-- ============================================= -->
<!-- $Header: /cvs/adempiere/install/build.xml,v 1.7 2006/07/24 08:20:55 comdivision Exp $-->
<project name="install" default="installDistribution" basedir=".">
<description>
This buildfile is used to create the Adempiere installer.
</description>
<!--<property environment="env"/>-->
<import file="../utils_dev/properties.xml"/>
<property name="adempiere.dir" value="../"/>
<property name="web.dir" value="../../adempiereWeb"/>
<property name="dbStartup.dir" value="../db/database/Startup"/>
<property name="lib.dir" value="../lib"/>
<property name="dist.dir" value="../lib"/>
<property name="utils.dir" value="../utils"/>
<property name="launch.dir" value="../launch"/>
<property name="keystore.dir" value="../keystore"/>
<property name="data.dir" value="../data"/>
<property name="src" value="src"/>
<property name="compile.dir" value="lib"/>
<property name="src.dir" value="${basedir}/Adempiere"/>
<property name="build.dir" value="${basedir}/build"/>
<path id="project.class.path">
<pathelement path="${classpath}"/>
<pathelement path="${lib.dir}/CCTools.jar"/>
<pathelement path="${lib.dir}/Adempiere.jar"/>
<pathelement path="${lib.dir}/oracle.jar"/>
<pathelement path="${lib.dir}/postgresql.jar"/>
<pathelement path="../tools/lib/ant.jar"/>
<pathelement path="../tools/lib/ant-launcher.jar"/>
</path>
<patternset id="manifest.exclude">
<exclude name="META-INF/*.DSA"/>
<exclude name="META-INF/*.RSA"/>
<exclude name="META-INF/*.SF"/>
<exclude name="META-INF/MANIFEST.MF"/>
<exclude name="META-INF/INDEX.LIST"/>
</patternset>
<!-- ======================================================= -->
<!-- Init -->
<!-- ======================================================= -->
<target name="installInit" description="initialization target">
<echo message="=========== Build Install - ${env.ENCODING}"/>
<!-- create the time stamp -->
<tstamp/>
<mkdir dir="${build.dir}"/>
</target>
<!-- ======================================================= -->
<!-- Update from Web Site + Clean .sh -->
<!-- ======================================================= -->
<target name="installUpdate" depends="plugin"
description="Update install directory with copies of web site">
<fixcrlf srcdir="${src.dir}"
eol="lf" eof="remove"
includes="**/*.sh"/>
<fixcrlf srcdir="${utils.dir}"
eol="lf" eof="remove"
includes="**/*.sh"/>
<fixcrlf srcdir="${utils.dir}/unix"
eol="lf" eof="remove"
includes="*"/>
<fixcrlf srcdir="../sqlj/oracle"
eol="lf" eof="remove"
includes="*.sh"/>
</target>
<!-- ======================================================= -->
<!-- Create Distribution -->
<!-- ======================================================= -->
<target name="installDistribution" depends="installUpdate">
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.dir}/Adempiere"/>
<mkdir dir="${build.dir}/Adempiere/images"/>
<copy file="../lib/CheckConflicts.sh" tofile="${build.dir}/Adempiere/lib/CheckConflicts.sh"/>
<!-- Base Directory -->
<copy todir="${build.dir}/Adempiere">
<fileset dir="${src.dir}"/>
</copy>
<copy todir="${build.dir}/Adempiere/images">
<fileset dir="${src.dir}/images"/>
</copy>
<copy file="${utils.dir}/RUN_Adempiere.bat" todir="${build.dir}/Adempiere/"/>
<copy file="${utils.dir}/RUN_Adempiere.sh" todir="${build.dir}/Adempiere/"/>
<!-- Lib Directory -->
<mkdir dir="${build.dir}/Adempiere/lib"/>
<copy file="${launch.dir}/Adempiere.ico" tofile="${build.dir}/Adempiere/lib/Adempiere.ico"/>
<!-- copy file="${launch.dir}/jlaunchs.ico" tofile="${build.dir}/Adempiere/lib/Adempieres.ico"/-->
<copy todir="${build.dir}/Adempiere/lib">
<fileset dir="${lib.dir}">
<include name="**/*ar"/>
<include name="**/*xml"/>
<include name="**/*0"/>
</fileset>
</copy>
<concat destfile="${build.dir}/Adempiere/lib/index.html">AdempiereHome</concat>
<!-- OSGi Container -->
<mkdir dir="${build.dir}/Adempiere/osgi"/>
<copy overwrite="true" todir="${build.dir}/Adempiere/osgi" >
<fileset dir="../equinox-target">
<include name="plugins/**/*"/>
<include name="org.eclipse.*.jar"/>
</fileset>
<fileset dir="../equinox-target/spring">
<include name="plugins/**/*"/>
</fileset>
<fileset dir="../lib">
<include name="plugins/**/*"/>
<exclude name="plugins/org.adempiere.tomcat.config*"/>
</fileset>
</copy>
<copy overwrite="true" todir="${build.dir}/Adempiere/osgi/client" >
<fileset dir="../equinox-target/configuration">
<include name="*.ini"/>
</fileset>
</copy>
<copy overwrite="true" todir="${build.dir}/Adempiere/osgi/server" >
<fileset dir="../equinox-target/webapp/configuration">
<include name="*.ini"/>
</fileset>
</copy>
<unjar dest="${build.dir}/Adempiere/osgi/plugins/org.adempiere.tomcat.config" overwrite="true">
<fileset dir="../lib/plugins">
<include name="org.adempiere.tomcat.config*.jar"/>
</fileset>
</unjar>
<delete dir="${build.dir}/Adempiere/lib/plugins"/>
<!-- Utils Directory -->
<mkdir dir="${build.dir}/Adempiere/utils"/>
<copy todir="${build.dir}/Adempiere/utils">
<fileset dir="${utils.dir}" excludes="**/pg/**,.project"/>
</copy>
<copy todir="${build.dir}/Adempiere/utils/oracle">
<fileset dir="${dbStartup.dir}/oracle" includes="*.sql"/>
<fileset dir="../sqlj/oracle/"/>
</copy>
<copy todir="${build.dir}/Adempiere/utils/postgresql">
<fileset dir="${dbStartup.dir}/postgresql" includes="*.sql"/>
<fileset dir="../sqlj/postgresql/"/>
</copy>
<copy todir="${build.dir}/Adempiere/utils/oracleXE">
<fileset dir="${dbStartup.dir}/oracleXE" includes="*.sql"/>
</copy>
<!-- Data Directory -->
<mkdir dir="${build.dir}/Adempiere/data"/>
<unjar src="${data.dir}/seed/Adempiere.jar" dest="${build.dir}/Adempiere/data"/>
<unjar src="${data.dir}/seed/Adempiere_pg.jar" dest="${build.dir}/Adempiere/data"/>
<mkdir dir="${build.dir}/Adempiere/data/import"/>
<copy todir="${build.dir}/Adempiere/data/import">
<fileset dir="${data.dir}/import">
<include name="**/Accounting*.*"/>
<include name="Example*.csv"/>
</fileset>
</copy>
<copy todir="${build.dir}/Adempiere/data/">
<fileset dir="${data.dir}/seed/">
<include name="**/*.jar"/>
</fileset>
</copy>
<!-- Create Install ZIP -->
<zip zipfile="${build.dir}/Adempiere_${env.ADEMPIERE_VERSION_FILE}.zip"
basedir="${build.dir}"
includes="Adempiere/**" />
<!-- Create Install TAR -->
<tar longfile="gnu" tarfile="${build.dir}/Adempiere_${env.ADEMPIERE_VERSION_FILE}.tar.gz"
basedir="${build.dir}"
includes="Adempiere/**"
compression="gzip" />
<!-- Create Checksums -->
<checksum file="${build.dir}/Adempiere_${env.ADEMPIERE_VERSION_FILE}.tar.gz"/>
<concat destfile="${build.dir}/Adempiere_${env.ADEMPIERE_VERSION_FILE}.tar.gz.MD5" append="yes"> *Adempiere_${env.ADEMPIERE_VERSION_FILE}.tar.gz</concat>
<!-- Test with md5sum -c Adempiere_251.zip.MD5 -->
<checksum file="${build.dir}/Adempiere_${env.ADEMPIERE_VERSION_FILE}.zip"/>
<concat destfile="${build.dir}/Adempiere_${env.ADEMPIERE_VERSION_FILE}.zip.MD5" append="yes"> *Adempiere_${env.ADEMPIERE_VERSION_FILE}.zip</concat>
</target>
<target name="plugin" depends="installInit">
<buildPlugin workspaceDirectory="${workspace}"
projectName="install"
targetPlatformId="target.platform"
destination="../lib"
buildSourceJar="false" />
</target>
<target name="clean" description="deletes build">
<delete>
<fileset dir="../lib/plugins">
<include name="org.adempiere.install_*.jar"/>
</fileset>
</delete>
</target>
</project>

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ============================================= -->
<!-- JasperReport Client -->
<!-- ============================================= -->
<project name="JasperReportClient" default="plugin" basedir=".">
<description>
This buildfile is used to build the client subproject within
the Adempiere project.
</description>
<import file="../utils_dev/properties.xml"/>
<target name="init" description="initialization target">
<echo message="=========== Build JasperReportsClient"/>
</target>
<target name="plugin" depends="init">
<buildPlugin workspaceDirectory="${workspace}"
projectName="JasperReportsClient"
targetPlatformId="target.platform"
destination="../lib"
buildSourceJar="false" />
</target>
<target name="clean">
<delete>
<fileset dir="../lib/plugins">
<include name="org.adempiere.apps.JasperReportsClient_*.jar"/>
</fileset>
</delete>
</target>
</project>

View File

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ============================================= -->
<!-- Client -->
<!-- ============================================= -->
<!-- $Header: /cvs/adempiere/client/build.xml,v 1.2 2006/06/10 21:57:27 jjanke Exp $ -->
<project name="client" default="plugin" basedir=".">
<description>
This buildfile is used to build the client subproject within
the Adempiere project.
</description>
<import file="../utils_dev/properties.xml"/>
<target name="init" description="initialization target">
<echo message="=========== Build Client"/>
</target>
<target name="plugin" depends="init">
<buildPlugin workspaceDirectory="${workspace}"
projectName="client"
targetPlatformId="target.platform"
destination="../lib"
buildSourceJar="false" />
</target>
<target name="clean">
<delete>
<fileset dir="../lib/plugins">
<include name="org.adempiere.client_*.jar"/>
</fileset>
</delete>
</target>
</project>