Remove obsolete build script

This commit is contained in:
Heng Sin Low 2010-11-08 10:20:15 +08:00
parent 8dfef2178e
commit 60e68612e8
19 changed files with 0 additions and 1106 deletions

View File

@ -1,31 +0,0 @@
@Title Build Adempiere Clean
@Rem $Header: /cvsroot/adempiere/utils_dev/RUN_build.bat,v 1.22 2005/09/08 21:56:11 jjanke Exp $
@Rem Check java home
@IF NOT EXIST "%JAVA_HOME%\bin" ECHO "** JAVA_HOME NOT found"
@SET PATH="%JAVA_HOME%\bin";%PATH%
@Rem Check jdk
@IF NOT EXIST "%JAVA_HOME%\lib\tools.jar" ECHO "** Need Full Java SDK **"
@Rem Set ant classpath
@SET ANT_CLASSPATH=%CLASSPATH%;..\tools\lib\ant.jar;..\tools\lib\ant-launcher.jar;..\tools\lib\ant-swing.jar;..\tools\lib\ant-commons-net.jar;..\tools\lib\commons-net-1.4.0.jar
@SET ANT_CLASSPATH="%ANT_CLASSPATH%";"%JAVA_HOME%\lib\tools.jar"
@SET ANT_OPTS=-Xms128m -Xmx512m
@echo Cleanup ...
@"%JAVA_HOME%\bin\java" %ANT_OPTS% -classpath %ANT_CLASSPATH% -Dant.home="." org.apache.tools.ant.Main clean
@echo Building ...
@"%JAVA_HOME%\bin\java" %ANT_OPTS% -classpath %ANT_CLASSPATH% -Dant.home="." org.apache.tools.ant.Main -logger org.apache.tools.ant.listener.MailLogger complete
@IF ERRORLEVEL 1 goto ERROR
@Echo Done ...
@Pause
@exit
:ERROR
@Color fc
@Pause

View File

@ -1,41 +0,0 @@
#!/bin/sh
# This script rebuilds Adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
# If you have difficulties, compare it with the Windows version.
#
# $Header: /cvsroot/adempiere/utils_dev/myDevEnvTemplate.sh,v 1.6 2003/04/27 12:34:16 marekmosiewicz Exp $
#check java home
if [ $JAVA_HOME ]; then
export PATH=$JAVA_HOME/bin:$PATH
else
echo JAVA_HOME is not set.
echo You may not be able to build Adempiere
echo Set JAVA_HOME to the directory of your local JDK.
exit
fi
# check jdk
if [ ! -f $JAVA_HOME/lib/tools.jar ] ; then
echo "** Need full Java SDK **"
exit
fi
ANTLIB="-lib ../tools/lib/ant4eclipse/ -lib ../equinox-target/org.eclipse.osgi_3.6.0.v20100517.jar -lib ../tools/lib/ant-contrib-1.0b1.jar"
#classpath
export ANT_CLASSPATH=../tools/lib/ant-launcher.jar
export ANT_OPTS="-Xms128m -Xmx512m -Dworkspace=`pwd`/.."
echo Cleanup ...
$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH org.apache.tools.ant.launch.Launcher $ANTLIB clean
echo Building ...
$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH org.apache.tools.ant.launch.Launcher -logger org.apache.tools.ant.listener.MailLogger $ANTLIB complete
echo Done ...
exit 0

View File

@ -1,48 +0,0 @@
@Title Build Adempiere Clean
@Rem $Header: /cvsroot/adempiere/utils_dev/RUN_build.bat,v 1.22 2005/09/08 21:56:11 jjanke Exp $
@Rem Check java home
@IF NOT EXIST "%JAVA_HOME%\bin" goto javahome
@SET PATH="%JAVA_HOME%\bin";%PATH%
@Rem Check jdk
@IF NOT EXIST "%JAVA_HOME%\lib\tools.jar" goto jdk
@if (%1) == () goto usage
@Rem Set ant classpath
@SET ANT_CLASSPATH=%CLASSPATH%;..\tools\lib\ant.jar;..\tools\lib\ant-launcher.jar;..\tools\lib\ant-swing.jar;..\tools\lib\ant-commons-net.jar;..\tools\lib\commons-net-1.4.0.jar
@SET ANT_CLASSPATH=%ANT_CLASSPATH%;"%JAVA_HOME%\lib\tools.jar"
@SET ANT_OPTS=-Xms128m -Xmx512m
@echo Building ...
@"%JAVA_HOME%\bin\java" %ANT_OPTS% -classpath %ANT_CLASSPATH% -Dant.home="." org.apache.tools.ant.Main %1
@IF ERRORLEVEL 1 goto ERROR
@Echo Done ...
@Pause
@exit
:usage
@echo Usage: %0 target
@echo Examples: %0 complete
@pause
@exit
:javahome
@echo JAVA_HOME is not set.
@echo You may not be able to build Adempiere
@echo Set JAVA_HOME to the directory of your local JDK.
@pause
@exit
:jdk
@echo "** Need full Java SDK **"
@pause
@exit
:ERROR
@Color fc
@Pause

View File

@ -1,43 +0,0 @@
#!/bin/sh
# This script rebuilds Adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
# If you have difficulties, compare it with the Windows version.
#
# $Header: /cvsroot/adempiere/utils_dev/myDevEnvTemplate.sh,v 1.6 2003/04/27 12:34:16 marekmosiewicz Exp $
#check java home
if [ $JAVA_HOME ]; then
export PATH=$JAVA_HOME/bin:$PATH
else
echo JAVA_HOME is not set.
echo You may not be able to build Adempiere
echo Set JAVA_HOME to the directory of your local JDK.
exit
fi
# check jdk
if [ ! -f $JAVA_HOME/lib/tools.jar ] ; then
echo "** Need full Java SDK **"
exit
fi
if [ $# -eq 0 ]
then
echo "Usage: $0 target"
echo "Example: $0 complete"
exit 1
fi
#classpath
export ANT_CLASSPATH=$CLASSPATH:../tools/lib/ant.jar:../tools/lib/ant-launcher.jar:../tools/lib/ant-swing.jar:../tools/lib/ant-commons-net.jar:../tools/lib/commons-net.jar:$JAVA_HOME/lib/tools.jar
export ANT_OPTS="-Xms128m -Xmx512m"
echo Building ...
$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH -Dant.home="." org.apache.tools.ant.Main $1
echo Done ...
exit 0

View File

@ -1,31 +0,0 @@
@Title Build Adempiere Incremental + Install
@Rem $Header: /cvsroot/adempiere/utils_dev/RUN_buildIncremental.bat,v 1.14 2005/09/08 21:56:11 jjanke Exp $
@Rem Check java home
@IF NOT EXIST "%JAVA_HOME%\bin" ECHO "** JAVA_HOME NOT found"
@SET PATH=%JAVA_HOME%\bin;%PATH%
@Rem Check jdk
@IF NOT EXIST "%JAVA_HOME%\lib\tools.jar" ECHO "** Need Full Java SDK **"
@Rem Set ant classpath
@SET ANT_CLASSPATH=%CLASSPATH%;..\tools\lib\ant.jar;..\tools\lib\ant-launcher.jar;..\tools\lib\ant-swing.jar;..\tools\lib\ant-commons-net.jar;..\tools\lib\commons-net-1.4.0.jar
@SET ANT_CLASSPATH=%ANT_CLASSPATH%;"%JAVA_HOME%\lib\tools.jar"
@SET ANT_OPTS=-Xms128m -Xmx512m
@echo Building ...
@"%JAVA_HOME%\bin\java" %ANT_OPTS% -classpath %ANT_CLASSPATH% -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main update
@Echo ErrorLevel = %ERRORLEVEL%
@IF NOT ERRORLEVEL 0 GOTO BUILDOK
@Pause
@Exit
:BUILDOK
@Rem Echo Cleaning up ...
@Rem erase /q /s %TMP%
@Pause
@Exit

View File

@ -1,53 +0,0 @@
#!/bin/sh
# This script compile Adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
# check java home
if [ $JAVA_HOME ]; then
export PATH=$JAVA_HOME/bin:$PATH
else
echo JAVA_HOME is not set.
echo You may not be able to build Adempiere
echo Set JAVA_HOME to the directory of your local JDK.
exit
fi
# check jdk
if [ ! -f $JAVA_HOME/lib/tools.jar ] ; then
echo "** Need full Java SDK **"
exit
fi
# check adempiere home
if [ ! $ADEMPIERE_HOME ] ; then
echo Warning: ADEMPIERE_HOME is not set.
echo You will not be able to update your local Adempiere Deployment.
echo Set ADEMPIERE_HOME to the directory of your local Adempiere Deployment.
fi
# stop running adempiere server
if [ $ADEMPIERE_HOME ] ; then
echo "Stop Apps Server (waiting)"
$ADEMPIERE_HOME/utils/RUN_Server2Stop.sh
sleep 5
fi
#classpath
export ANT_CLASSPATH=$CLASSPATH:../tools/lib/ant.jar:../tools/lib/ant-launcher.jar:../tools/lib/ant-swing.jar:../tools/lib/ant-commons-net.jar:../tools/lib/commons-net.jar:$JAVA_HOME/lib/tools.jar
export ANT_OPTS="-Xms128m -Xmx512m"
echo Building ...
$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH -Dant.home="." org.apache.tools.ant.Main update
# start adempiere server
if [ $ADEMPIERE_HOME ] ; then
echo Cleaning up ...
rm -r -f $ADEMPIERE_HOME/jboss/server/adempiere/tmp
echo Starting Apps Server ...
$ADEMPIERE_HOME/utils/RUN_Server2.sh
fi
exit 0

View File

@ -1,19 +0,0 @@
@Title Adempiere Clean
@Rem $Header: /cvsroot/adempiere/utils_dev/RUN_clean.bat,v 1.4 2005/09/16 00:49:29 jjanke Exp $
@Rem Check java home
@IF NOT EXIST "%JAVA_HOME%\bin" ECHO "** JAVA_HOME NOT found"
@SET PATH=%JAVA_HOME%\bin;%PATH%
@Rem Check jdk
@IF NOT EXIST "%JAVA_HOME%\lib\tools.jar" ECHO "** Need Full Java SDK **"
@Rem Set ant classpath
@SET ANT_CLASSPATH=%CLASSPATH%;..\tools\lib\ant.jar;..\tools\lib\ant-launcher.jar;..\tools\lib\ant-swing.jar;..\tools\lib\ant-commons-net.jar;..\tools\lib\commons-net-1.4.0.jar
@SET ANT_CLASSPATH=%ANT_CLASSPATH%;"%JAVA_HOME%\lib\tools.jar"
@echo Cleanup ...
@"%JAVA_HOME%\bin\java" -classpath %ANT_CLASSPATH% -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main clean
@Pause
@exit

View File

@ -1,30 +0,0 @@
#!/bin/sh
# This script cleans Adempiere builds
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
#check java home
if [ $JAVA_HOME ]; then
export PATH=$JAVA_HOME/bin:$PATH
else
echo JAVA_HOME is not set.
echo You may not be able to build Adempiere
echo Set JAVA_HOME to the directory of your local JDK.
exit
fi
# check jdk
if [ ! -f $JAVA_HOME/lib/tools.jar ] ; then
echo "** Need full Java SDK **"
exit
fi
#classpath
export ANT_CLASSPATH=$CLASSPATH:../tools/lib/ant.jar:../tools/lib/ant-launcher.jar:../tools/lib/ant-swing.jar:../tools/lib/ant-commons-net.jar:../tools/lib/commons-net.jar:$JAVA_HOME/lib/tools.jar
echo Cleanup ...
$JAVA_HOME/bin/java -classpath $ANT_CLASSPATH -Dant.home="." $ANT_PROPERTIES org.apache.tools.ant.Main clean
echo Done ...
exit 0

View File

@ -1,18 +0,0 @@
@Title Adempiere Install
@Rem $Header: /cvsroot/adempiere/utils_dev/RUN_install.bat,v 1.3 2005/09/16 00:49:29 jjanke Exp $
@Rem Check java home
@IF NOT EXIST "%JAVA_HOME%\bin" ECHO "** JAVA_HOME NOT found"
@SET PATH=%JAVA_HOME%\bin;%PATH%
@Rem Check jdk
@IF NOT EXIST "%JAVA_HOME%\lib\tools.jar" ECHO "** Need Full Java SDK **"
@Rem Set ant classpath
@SET ANT_CLASSPATH=%CLASSPATH%;..\tools\lib\ant.jar;..\tools\lib\ant-launcher.jar;..\tools\lib\ant-swing.jar;..\tools\lib\ant-commons-net.jar;..\tools\lib\commons-net-1.4.0.jar
@SET ANT_CLASSPATH=%ANT_CLASSPATH%;"%JAVA_HOME%\lib\tools.jar"
@"%JAVA_HOME%\bin\java" -classpath %ANT_CLASSPATH% -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main install
@Pause
@exit

View File

@ -1,30 +0,0 @@
#!/bin/sh
# This script installs adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
#check java home
if [ $JAVA_HOME ]; then
export PATH=$JAVA_HOME/bin:$PATH
else
echo JAVA_HOME is not set.
echo You may not be able to build Adempiere
echo Set JAVA_HOME to the directory of your local JDK.
exit
fi
# check jdk
if [ ! -f $JAVA_HOME/lib/tools.jar ] ; then
echo "** Need full Java SDK **"
exit
fi
#classpath
export ANT_CLASSPATH=$CLASSPATH:../tools/lib/ant.jar:../tools/lib/ant-launcher.jar:../tools/lib/ant-swing.jar:../tools/lib/ant-commons-net.jar:../tools/lib/commons-net.jar:$JAVA_HOME/lib/tools.jar
echo Installing ...
$JAVA_HOME/bin/java -classpath $ANT_CLASSPATH -Dant.home="." $ANT_PROPERTIES org.apache.tools.ant.Main install
echo Done ...
exit 0

View File

@ -1,18 +0,0 @@
@Title Sign jars in %ADEMPIERE_HOME%\lib\
@Rem
@Rem Sign all jars for WebStart with your certificate
@Rem Keystore located at c:\adempiere\adempiere-all\keystore\myKeystore
@Rem Keystore passwords both %KEY_PASSWORD% (default myPassword)
@Rem Jar files are located in the deployment directory %ADEMPIERE_HOME%\lib
@Rem
@Rem After this, you need to RUN_setup
@Rem to generate/copy the webstart/jnlp distribution
jarsigner -keystore c:\adempiere\adempiere-all2\keystore\myKeystore -storepass %KEY_PASSWORD% -keypass %KEY_PASSWORD% %ADEMPIERE_HOME%\lib\CClient.jar adempiere
jarsigner -keystore c:\adempiere\adempiere-all2\keystore\myKeystore -storepass %KEY_PASSWORD% -keypass %KEY_PASSWORD% %ADEMPIERE_HOME%\lib\CTools.jar adempiere
jarsigner -keystore c:\adempiere\adempiere-all2\keystore\myKeystore -storepass %KEY_PASSWORD% -keypass %KEY_PASSWORD% %ADEMPIERE_HOME%\lib\oracle.jar adempiere
jarsigner -keystore c:\adempiere\adempiere-all2\keystore\myKeystore -storepass %KEY_PASSWORD% -keypass %KEY_PASSWORD% %ADEMPIERE_HOME%\lib\jPDFPrinterDemo.jar adempiere
jarsigner -keystore c:\adempiere\adempiere-all2\keystore\myKeystore -storepass %KEY_PASSWORD% -keypass %KEY_PASSWORD% %ADEMPIERE_HOME%\lib\jPDFPrinterProd.jar adempiere
@Echo After this execute RUN_setup
@pause

View File

@ -1,8 +0,0 @@
#!/bin/sh
export ANT_OPTS="-Xms128m -Xmx512m -Dworkspace=`pwd`/.."
ANT4ECLIPSE=../tools/lib/ant4eclipse/
ANT4OSGI=../equinox-target/org.eclipse.osgi_3.5.0.v20090520.jar
ant -Dplugin=$1 -lib $ANT4ECLIPSE -lib $ANT4OSGI -lib ../tools/lib/ant-contrib-1.0b1.jar plugin

View File

@ -1,10 +0,0 @@
env.ADEMPIERE_SOURCE=${adempiere.base}
env.ADEMPIERE_ROOT=${env.ADEMPIERE_SOURCE}/adempiere
env.ADEMPIERE_HOME=${env.ADEMPIERE_ROOT}/Adempiere
env.ADEMPIERE_INSTALL=${env.ADEMPIERE_SOURCE}/adempiere/install
env.ADEMPIERE_VERSION=ADempiere
env.ADEMPIERE_VERSION_FILE=400pr01
env.ADEMPIERE_VENDOR=ADempiere
env.ENCODING=UTF-8
env.ADEMPIERE_ENV=Y
workspace=${adempiere.base}

View File

@ -1,209 +0,0 @@
<!-- ================================================ -->
<!-- Adempiere Build -->
<!-- ================================================ -->
<!-- $Header: /cvs/adempiere/utils_dev/build.xml,v 1.4 2006/10/12 00:03:11 jjanke Exp $ -->
<project name="adempiere" default="complete" basedir="../" xmlns:ant4eclipse="antlib:org.ant4eclipse">
<description>
This buildfile is used to build the Adempiere system.
</description>
<!-- set global properties for this build -->
<!--<property environment="env"/>-->
<import file="./properties.xml"/>
<property name="src" value="src"/>
<property name="build.dir" value="build"/>
<target name="init" description="initialization target">
<echo message="=========== Build Adempiere - ${env.ENCODING}"/>
<!-- Create the time stamp -->
<tstamp/>
<delete failonerror="false">
<fileset dir="lib/plugins">
<include name="*.jar"/>
</fileset>
</delete>
<mkdir dir="lib/plugins"/>
</target>
<target name="jar" depends="init">
<ant inheritAll="false" dir="tools"/>
<ant inheritAll="false" dir="base"/>
<ant inheritAll="false" dir="extend"/>
<ant inheritAll="false" dir="uibase"/>
<ant inheritAll="false" dir="client"/>
<ant inheritAll="false" dir="JasperReports"/>
<ant inheritAll="false" dir="JasperReportsTools"/>
<ant inheritAll="false" dir="JasperReportsWebApp"/>
<ant inheritAll="false" dir="JasperReportsClient"/>
<ant inheritAll="false" dir="serverRoot"/>
<ant inheritAll="false" dir="serverApps"/>
<ant inheritAll="false" dir="webStore"/>
<ant inheritAll="false" dir="zkwebui"/>
<ant inheritAll="false" dir="tomcatConfig"/>
<ant inheritAll="false" dir="pipo"/>
<ant inheritAll="false" dir="pipoHandlers"/>
<ant inheritAll="false" dir="oracleProvider"/>
<ant inheritAll="false" dir="postgresqlProvider"/>
</target>
<target name="build" depends="jar">
<ant inheritAll="false" dir="install"/>
</target>
<target name="clean">
<ant inheritAll="false" dir="tools" target="clean"/>
<ant inheritAll="false" dir="base" target="clean"/>
<ant inheritAll="false" dir="extend" target="clean"/>
<ant inheritAll="false" dir="JasperReports" target="clean"/>
<ant inheritAll="false" dir="JasperReportsTools" target="clean"/>
<ant inheritAll="false" dir="JasperReportsWebApp" target="clean"/>
<ant inheritAll="false" dir="JasperReportsClient" target="clean"/>
<ant inheritAll="false" dir="uibase" target="clean"/>
<ant inheritAll="false" dir="client" target="clean"/>
<ant inheritAll="false" dir="serverRoot" target="clean"/>
<ant inheritAll="false" dir="serverApps" target="clean"/>
<ant inheritAll="false" dir="webStore" target="clean"/>
<ant inheritAll="false" dir="install" target="clean"/>
<ant inheritAll="false" dir="zkwebui" target="clean"/>
<ant inheritAll="false" dir="tomcatConfig" target="clean"/>
<ant inheritAll="false" dir="pipo" target="clean"/>
<ant inheritAll="false" dir="pipoHandlers" target="clean"/>
<ant inheritAll="false" dir="oracleProvider" target="clean"/>
<ant inheritAll="false" dir="postgresqlProvider" target="clean"/>
</target>
<target name="clean-all" depends="clean">
<delete dir="${env.ADEMPIERE_ROOT}"/>
</target>
<target name="update-adempiere-jar" depends="init">
<ant inheritAll="false" dir="base" target="compile"/>
<ant inheritAll="false" dir="extend" target="compile"/>
<ant inheritAll="false" dir="client"/>
</target>
<target name="update-serverRoot" depends="init">
<ant inheritAll="false" dir="serverRoot"/>
</target>
<!-- ================================================ -->
<!-- Adempiere Local Install -->
<!-- ================================================ -->
<target name="install" depends="" description="Environment dependent">
<echo message="=========== Install Adempiere"/>
<copy todir="${env.ADEMPIERE_INSTALL}" verbose="true">
<fileset dir="install/build" includes="Adempiere_*"/>
</copy>
<!-- Delete Existing stuff, but not utils + data -->
<delete failonerror="false">
<fileset dir="${env.ADEMPIERE_HOME}/lib"/>
<fileset dir="${env.ADEMPIERE_HOME}/jboss"/>
</delete>
<!-- Unzip Install File -->
<unzip src="install/build/Adempiere_${env.ADEMPIERE_VERSION_FILE}.zip"
dest="${env.ADEMPIERE_ROOT}"
overwrite="yes"/>
<!-- Run Setup -->
<!--
<input addproperty="runSetupInput"
message="Run Setup(Y/N) ? "
validargs="Y,y,N,n"/>
<antcall target="runSetup"/>
-->
</target>
<!-- ================================================ -->
<!-- Adempiere OSGi Update -->
<!-- ================================================ -->
<target name="plugins">
<ant4eclipse:executeProjectSet workspaceDirectory=".." allWorkspaceProjects="true">
<ant4eclipse:forEachProject filter="(executeProjectSet.org.eclipse.pde.PluginNature=*)">
<buildPlugin workspaceDirectory=".."
projectName="${executeProjectSet.project.name}"
targetPlatformId="target.platform"
destination="lib"
buildSourceJar="false"
clean="no"/>
</ant4eclipse:forEachProject>
</ant4eclipse:executeProjectSet>
</target>
<!-- ================================================ -->
<!-- Adempiere Local Update -->
<!-- ================================================ -->
<target name="updateDeploy" depends="" description="Environment dependent">
<echo message="=========== Update Adempiere"/>
<copy todir="${env.ADEMPIERE_INSTALL}">
<fileset dir="install/build" includes="Adempiere_*"/>
</copy>
<!-- Unzip Install File -->
<unzip src="install/build/Adempiere_${env.ADEMPIERE_VERSION_FILE}.zip"
dest="${env.ADEMPIERE_ROOT}"
overwrite="yes"/>
<!-- Run Setup -->
<antcall target="runUpdateWin"></antcall>
<antcall target="runUpdateNonWin"></antcall>
</target>
<target name="runSetupInit">
<condition property="isWindows">
<os family="windows" />
</condition>
</target>
<target name="runSetupWin" depends="runSetupInit" if="isWindows" >
<exec dir="${env.ADEMPIERE_HOME}" executable="RUN_setup.bat"
spawn="false" resolveexecutable="true">
</exec>
</target>
<target name="runSetupNonWin" depends="runSetupInit" unless="isWindows" >
<chmod dir="${env.ADEMPIERE_HOME}" perm="ugo+rx" includes="RUN_setup.sh"/>
<exec dir="${env.ADEMPIERE_HOME}" executable="RUN_setup.sh"
spawn="false" resolveexecutable="true">
</exec>
</target>
<target name="runSetupCheck">
<condition property="setup.yes">
<or>
<equals arg1="y" arg2="${runSetupInput}"/>
<equals arg1="Y" arg2="${runSetupInput}"/>
</or>
</condition>
</target>
<target name="runSetup" depends="runSetupCheck" if="setup.yes">
<antcall target="runSetupWin"></antcall>
<antcall target="runSetupNonWin"></antcall>
</target>
<target name="runUpdateWin" depends="runSetupInit" if="isWindows" >
<exec dir="${env.ADEMPIERE_HOME}" executable="RUN_update.bat"
spawn="false" resolveexecutable="true">
</exec>
</target>
<target name="runUpdateNonWin" depends="runSetupInit" unless="isWindows" >
<chmod dir="${env.ADEMPIERE_HOME}" perm="ugo+rx" includes="RUN_update.sh"/>
<exec dir="${env.ADEMPIERE_HOME}" executable="RUN_update.sh"
spawn="false" resolveexecutable="true">
</exec>
</target>
<!-- ================================================ -->
<!-- complete -->
<!-- ================================================ -->
<target name="complete" depends="build, install">
</target>
<!-- ================================================ -->
<!-- update -->
<!-- ================================================ -->
<target name="update" depends="build, updateDeploy">
</target>
<!-- ================================================ -->
<!-- Transfer Install -->
<!-- ================================================ -->
<target name="transfer" depends="complete" description="Transfer to Distribution media">
</target>
</project>

View File

@ -1,246 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<profiles version="8">
<profile name="Adempiere" version="8">
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="21"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="17"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="0"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="next_line"/>
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_comments" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="1"/>
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="80"/>
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="0"/>
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="mixed"/>
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
</profile>
</profiles>

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="false" context="filecomment_context" deleted="false" description="Comment for created Java files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/******************************************************************************
* Product: Adempiere ERP &amp; CRM Smart Business Solution
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved.
* This program is free software; you can redistribute it and/or modify it
* under the terms version 2 of the GNU General Public License as published
* by the Free Software Foundation. This program is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
* You may reach us at: ComPiere, Inc. - http://www.adempiere.org/license.html
* 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA or info@adempiere.org
*****************************************************************************/
</template><template autoinsert="true" context="methodcomment_context" deleted="false" description="Comment for non-overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name="methodcomment">/**
* ${enclosing_method}
* ${tags}
*/</template><template autoinsert="true" context="delegatecomment_context" deleted="false" description="Comment for delegate methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name="delegatecomment">/**
* ${tags}
* ${see_to_target}
*/</template><template autoinsert="false" context="fieldcomment_context" deleted="false" description="Comment for fields" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name="fieldcomment">/** ${field} */</template><template autoinsert="true" context="constructorcomment_context" deleted="false" description="Comment for created constructors" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name="constructorcomment">/**
* ${enclosing_type}
* ${tags}
*/</template><template autoinsert="true" context="settercomment_context" deleted="false" description="Comment for setter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.settercomment" name="settercomment">/**
* @param ${param} The ${bare_field_name} to set.
*/</template><template autoinsert="true" context="overridecomment_context" deleted="false" description="Comment for overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name="overridecomment">/**
* ${enclosing_method}
* ${see_to_overridden}
* ${tags}
*/</template><template autoinsert="true" context="gettercomment_context" deleted="false" description="Comment for getter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name="gettercomment">/**
* @return Returns the ${bare_field_name}.
*/</template><template autoinsert="false" context="typecomment_context" deleted="false" description="Comment for created types" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.typecomment" name="typecomment">/**
* ${enclosing_type}
*
* @author Jorg Janke
* @version $$Id$$
*/</template></templates>

View File

@ -1,28 +0,0 @@
Keystore Notes $Id$
Java WebStart required signed jars.
The location is assumed under <adempiere_cvsRoot>/keystore
You may want to put the password in your environment and start ant with -Dpassword=%MY_PASSWORD%
Example commands for creating a key store
-----------------------------------------
keytool -genkey -keyalg rsa -alias adempiere -dname "CN=myName, OU=myName, O=myOrg, L=myTown, ST=myState, C=US" -keypass myPWD -validity 365 -keystore D:\Adempiere\keystore\myKeystore -storepass myPWD
----- Self Sign
keytool -selfcert -alias adempiereTest -dname "CN=myName, OU=myName, O=myOrg, L=myTown, ST=myState, C=US" -keypass myPWD -validity 180 -keystore D:\Adempiere\keystore\myKeystore -storepass myPWD
---- Export/Info Certificate file
keytool -export -keystore D:\Adempiere\keystore\myKeystore -alias adempiere -storepass myPWD -file adempiere.cer
keytool -list -keystore D:\Adempiere\keystore\myKeystore -storepass myPWD
keytool -printcert -file D:\Adempiere\keystore\adempiereTest.cer

View File

@ -1,37 +0,0 @@
<?xml version='1.0'?>
<project name="properties" basedir="."
xmlns:ant4eclipse="antlib:org.ant4eclipse" >
<description>
This project file sets all properties needed during build and
installation. This file is imported in all other build.xml
files. This file provides a central place for managing
properties.
</description>
<dirname property="adempiere.base" file="${ant.file.properties}/.."/>
<property file="${user.home}/.adempiere.properties"/>
<property file="${adempiere.base}/utils_dev/build.properties"/>
<property file="${adempiere.base}/utils_dev/mybuild.properties"/>
<!-- Here we could add most common buildpaths -->
<!-- ant4eclipse -->
<import file="../tools/lib/ant4eclipse/macros/a4e-pde-macros.xml"/>
<taskdef uri="antlib:net.sf.antcontrib"
resource="net/sf/antcontrib/antlib.xml" />
<taskdef uri="antlib:org.ant4eclipse"
resource="org/ant4eclipse/antlib.xml" />
<ant4eclipse:jdtClassPathLibrary name="org.eclipse.pde.core.externalJavaSearch">
<fileset dir="."/>
</ant4eclipse:jdtClassPathLibrary >
<ant4eclipse:targetPlatform id="target.platform">
<location dir="${workspace}/equinox-target/plugins" />
<location dir="${workspace}/equinox-target/spring/plugins" />
</ant4eclipse:targetPlatform>
</project>

View File

@ -1,168 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="javadoc" deleted="false" description="&lt;b&gt;&lt;/b&gt;" enabled="true" id="org.eclipse.jdt.ui.templates.b_tag" name="&lt;b&gt;">&lt;b&gt;${word_selection}${cursor}&lt;/b&gt;</template><template autoinsert="true" context="javadoc" deleted="false" description="&lt;code&gt;&lt;/code&gt;" enabled="true" id="org.eclipse.jdt.ui.templates.code_tag" name="&lt;code&gt;">&lt;code&gt;${word_selection}${cursor}&lt;/code&gt;</template><template autoinsert="true" context="javadoc" deleted="false" description="&lt;code&gt;null&lt;/code&gt;" enabled="true" name="&lt;code&gt;">&lt;code&gt;null&lt;/code&gt;</template><template autoinsert="true" context="javadoc" deleted="false" description="&lt;i&gt;&lt;/i&gt;" enabled="true" id="org.eclipse.jdt.ui.templates.i_tag" name="&lt;i&gt;">&lt;i&gt;${word_selection}${cursor}&lt;/i&gt;</template><template autoinsert="true" context="javadoc" deleted="false" description="&lt;pre&gt;&lt;/pre&gt;" enabled="true" id="org.eclipse.jdt.ui.templates.pre_tag" name="&lt;pre&gt;">&lt;pre&gt;${word_selection}${cursor}&lt;/pre&gt;</template><template autoinsert="true" context="javadoc" deleted="false" description="author name" enabled="true" id="org.eclipse.jdt.ui.templates.author" name="@author">@author ${user}</template><template autoinsert="true" context="java" deleted="false" description="Cache Get" enabled="true" name="cache">/**&#13;
* Get ${enclosing_type} from Cache&#13;
* @param ctx context&#13;
* @param _ID id&#13;
* @return ${enclosing_type}&#13;
*/&#13;
public static ${enclosing_type} get (Properties ctx, int _ID)&#13;
{&#13;
Integer key = new Integer (_ID);&#13;
${enclosing_type} retValue = (${enclosing_type})s_cache.get(key);&#13;
if (retValue != null)&#13;
return retValue;&#13;
retValue = new ${enclosing_type} (ctx, _ID, null);&#13;
if (retValue.get_ID() != 0)&#13;
s_cache.put(key, retValue);&#13;
return retValue;&#13;
} // get&#13;
&#13;
/** Cache */&#13;
private static CCache&lt;Integer,${enclosing_type}&gt; s_cache = new CCache&lt;Integer,${enclosing_type}&gt;("", 20);</template><template autoinsert="false" context="java" deleted="false" description="dynamic cast" enabled="true" id="org.eclipse.jdt.ui.templates.cast" name="cast">${type} ${new_name} = (${type}) ${name};</template><template autoinsert="false" context="java" deleted="false" description="catch block" enabled="true" id="org.eclipse.jdt.ui.templates.catch" name="catch">catch (${Exception} e) {
${cursor}// ${todo}: handle exception
}</template><template autoinsert="true" context="java" deleted="false" description="Adempiere Header" enabled="true" name="Adempiere">/******************************************************************************
* Product: Adempiere ERP &amp; CRM Smart Business Solution
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved.
* This program is free software; you can redistribute it and/or modify it
* under the terms version 2 of the GNU General Public License as published
* by the Free Software Foundation. This program is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
* You may reach us at: ComPiere, Inc. - http://www.adempiere.org/license.html
* 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA or info@adempiere.org
*****************************************************************************/
</template><template autoinsert="false" context="java" deleted="false" description="do while statement" enabled="true" id="org.eclipse.jdt.ui.templates.do" name="do">do {
${line_selection}${cursor}
} while (${condition});</template><template autoinsert="false" context="java" deleted="false" description="else block" enabled="true" id="org.eclipse.jdt.ui.templates.else" name="else">else {
${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="else if block" enabled="true" id="org.eclipse.jdt.ui.templates.elseif" name="elseif">else if (${condition}) {
${cursor}
}</template><template autoinsert="true" context="javadoc" deleted="false" description="&lt;code&gt;false&lt;/code&gt;" enabled="true" id="org.eclipse.jdt.ui.templates.code_tag_false" name="false">&lt;code&gt;false&lt;/code&gt;</template><template autoinsert="false" context="java" deleted="false" description="iterate over array" enabled="true" id="org.eclipse.jdt.ui.templates.for_array" name="for">for (int ${index} = 0; ${index} &lt; ${array}.length; ${index}++) {
${line_selection}${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="iterate over array with temporary variable" enabled="true" id="org.eclipse.jdt.ui.templates.for_temp" name="for">for (int ${index} = 0; ${index} &lt; ${array}.length; ${index}++) {
${array_type} ${array_element} = ${array}[${index}];
${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="iterate over collection" enabled="true" id="org.eclipse.jdt.ui.templates.for_collection" name="for">for (Iterator ${iterator} = ${collection}.iterator(); ${iterator}.hasNext(); ) {
${type} ${element} = (${type}) ${iterator}.next();
${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="iterate over an array or Iterable" enabled="true" id="org.eclipse.jdt.ui.templates.for_iterable" name="foreach">for (${iterable_type} ${iterable_element} : ${iterable}) {
${cursor}
}</template><template autoinsert="true" context="java" deleted="false" description="Get Lines" enabled="true" name="getLines">/** The Lines */&#13;
private ${array_type}[] m_lines = null;&#13;
&#13;
/**&#13;
* Get Lines&#13;
* @param reload reload data&#13;
* @return array of lines&#13;
*/&#13;
public ${array_type}[] getLines (boolean reload)&#13;
{&#13;
if (m_lines != null &amp;&amp; !reload)&#13;
return m_lines;&#13;
ArrayList list = new ArrayList();&#13;
${cursor}&#13;
&#13;
//&#13;
m_lines = new ${array_type}[list.size()];&#13;
list.toArray(m_lines);&#13;
return m_lines;&#13;
} // getLines&#13;
</template><template autoinsert="false" context="java" deleted="false" description="if statement" enabled="true" id="org.eclipse.jdt.ui.templates.if" name="if">if (${condition}) {
${line_selection}${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="if else statement" enabled="true" id="org.eclipse.jdt.ui.templates.ifelse" name="ifelse">if (${condition}) {
${cursor}
} else {
}</template><template autoinsert="false" context="java" deleted="false" description="dynamic type test and cast" enabled="true" id="org.eclipse.jdt.ui.templates.instanceof" name="instanceof">if (${name} instanceof ${type}) {
${type} ${new_name} = (${type})${name};
${cursor}
}</template><template autoinsert="true" context="java" deleted="false" description="JDBC Query" enabled="true" name="jdbc">PreparedStatement pstmt = null;
try
{
pstmt = DB.prepareStatement(sql, get_trxName());
pstmt.setInt(1, x);
ResultSet rs = pstmt.executeQuery();
while (rs.next())
{
list.add (new XX (ctx, rs, get_trxName()));
}
rs.close();
pstmt.close();
pstmt = null;
}
catch (Exception e)
{
log.log(Level.SEVERE, sql, e);
}
try
{
if (pstmt != null)
pstmt.close();
pstmt = null;
}
catch (Exception e)
{
pstmt = null;
}</template><template autoinsert="false" context="java" deleted="false" description="lazy creation" enabled="true" id="org.eclipse.jdt.ui.templates.lazy" name="lazy">if (${name} == null) {
${name} = new ${type}(${arguments});
${cursor}
}
return ${name};</template><template autoinsert="true" context="java" deleted="false" description="Create Static" enabled="true" name="Logger">/** Logger */&#13;
private static CLogger log = CLogger.getCLogger(${enclosing_type}.class);&#13;
</template><template autoinsert="false" context="java" deleted="false" description="main method" enabled="true" id="org.eclipse.jdt.ui.templates.main" name="main">public static void main(String[] args) {
${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="create new object" enabled="true" id="org.eclipse.jdt.ui.templates.new" name="new">${type} ${name} = new ${type}(${arguments});</template><template autoinsert="false" context="java" deleted="false" description="non-externalized string marker" enabled="true" id="org.eclipse.jdt.ui.templates.non-nls" name="nls">//$$NON-NLS-${N}$$</template><template autoinsert="true" context="javadoc" deleted="false" description="&lt;code&gt;null&lt;/code&gt;" enabled="true" id="org.eclipse.jdt.ui.templates.code_tag_null" name="null">&lt;code&gt;null&lt;/code&gt;</template><template autoinsert="true" context="java" deleted="false" description="private method" enabled="true" id="org.eclipse.jdt.ui.templates.private_method" name="private_method">private ${return_type} ${name}(${arguments}) {
${cursor}
}</template><template autoinsert="true" context="java" deleted="false" description="private static method" enabled="true" id="org.eclipse.jdt.ui.templates.private_static_method" name="private_static_method">private static ${return_type} ${name}(${arguments}) {
${cursor}
}</template><template autoinsert="true" context="java" deleted="false" description="protected method" enabled="true" id="org.eclipse.jdt.ui.templates.protected_method" name="protected_method">protected ${return_type} ${name}(${arguments}) {
${cursor}
}</template><template autoinsert="true" context="java" deleted="false" description="public method" enabled="true" id="org.eclipse.jdt.ui.templates.public_method" name="public_method">public ${return_type} ${name}(${arguments}) {
${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="runnable" enabled="true" id="org.eclipse.jdt.ui.templates.runnable" name="runnable">new Runnable() {
public void run() {
${line_selection}
}
}</template><template autoinsert="false" context="java" deleted="false" description="switch case statement" enabled="true" id="org.eclipse.jdt.ui.templates.switch" name="switch">switch (${key}) {
case ${value}:
${cursor}
break;
default:
break;
}</template><template autoinsert="false" context="java" deleted="false" description="synchronized block" enabled="true" id="org.eclipse.jdt.ui.templates.synchronized" name="synchronized">synchronized (${mutex}) {
${line_selection}
}</template><template autoinsert="true" context="java" deleted="false" description="print to standard error" enabled="true" id="org.eclipse.jdt.ui.templates.syserr" name="syserr">System.err.println(${word_selection}${cursor});</template><template autoinsert="true" context="java" deleted="false" description="print to standard out" enabled="true" id="org.eclipse.jdt.ui.templates.sysout" name="sysout">System.out.println(${word_selection}${cursor});</template><template autoinsert="true" context="java" deleted="false" description="print current method to standard out" enabled="true" id="org.eclipse.jdt.ui.templates.systrace" name="systrace">System.out.println("${enclosing_type}.${enclosing_method}()");</template><template autoinsert="false" context="java" deleted="false" description="test method" enabled="true" id="org.eclipse.jdt.ui.templates.test" name="test">public void test${name}() throws Exception {
${cursor}
}</template><template autoinsert="true" context="java" deleted="false" description="convert collection to array" enabled="true" id="org.eclipse.jdt.ui.templates.toarray" name="toarray">(${type}[]) ${collection}.toArray(new ${type}[${collection}.size()]);</template><template autoinsert="true" context="java" deleted="false" description="Create List &amp; Convert to Array" enabled="true" name="toArray">ArrayList&lt;{enclosing_type}&gt; list = new ArrayList&lt;{enclosing_type}&gt;();&#13;
${cursor}&#13;
${enclosing_type}[] retValue = new ${enclosing_type}[list.size()];&#13;
list.toArray(retValue);&#13;
return retValue;</template><template autoinsert="true" context="java" deleted="false" description="String Representation" enabled="true" name="toString">/**
* String Representation
* @return info
*/
public String toString()
{
StringBuffer sb = new StringBuffer("${enclosing_type}[");
sb.append(getID())
.append("-").append(getName())
.append("]");
return sb.toString();
} // toString</template><template autoinsert="true" context="javadoc" deleted="false" description="&lt;code&gt;true&lt;/code&gt;" enabled="true" id="org.eclipse.jdt.ui.templates.code_tag_true" name="true">&lt;code&gt;true&lt;/code&gt;</template><template autoinsert="false" context="java" deleted="false" description="try catch block" enabled="true" id="org.eclipse.jdt.ui.templates.try" name="try">try {
${line_selection}${cursor}
} catch (${Exception} e) {
// ${todo}: handle exception
}</template><template autoinsert="false" context="java" deleted="false" description="iterate with enumeration" enabled="true" id="org.eclipse.jdt.ui.templates.while_enumeration" name="while">while (${enumeration}.hasMoreElements()) {
${type} ${element} = (${type}) ${enumeration}.nextElement();
${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="iterate with iterator" enabled="true" id="org.eclipse.jdt.ui.templates.while_iterator" name="while">while (${iterator}.hasNext()) {
${type} ${element} = (${type}) ${iterator}.next();
${cursor}
}</template><template autoinsert="false" context="java" deleted="false" description="while loop with condition" enabled="true" id="org.eclipse.jdt.ui.templates.while_condition" name="while">while (${condition}) {
${line_selection}${cursor}
}</template></templates>