Improving DeathMeat's work.
Now properties are loaded in utils_dev/properties.xml and and imported from there to every other build file.
This commit is contained in:
parent
85d0dc6adb
commit
3a3c3fa672
|
@ -14,7 +14,7 @@
|
|||
<property name="dist.dir" value="."/>
|
||||
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<!-- set path to include the necessary jar files for javac -->
|
||||
<path id="project.class.path">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<!-- Set global properties for this build -->
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
<property file="build.properties"/>
|
||||
<property name="plugins.dir" value="plugins"/>
|
||||
<!--property name="compiere.dir" value="${env.COMPIERE_HOME}"/-->
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<property name="dist.dir" value="../lib"/>
|
||||
<property name="jar.path" value="../lib"/>
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<!-- set path to include the necessary jar files for javac -->
|
||||
<path id="project.class.path">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<!-- set global properties for this build -->
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
<property name="src" value="src"/>
|
||||
<property name="build.dir" value="build"/>
|
||||
<property name="dist.dir" value="."/>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</description>
|
||||
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<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"/>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<property name="jar.name" value="CLooks"/>
|
||||
<property name="version" value="_13"/>
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<!-- set path to include the necessary jar files for javac -->
|
||||
<path id="project.class.path">
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<!-- set global properties for this build -->
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
<property name="src" value="src"/>
|
||||
<property name="build.dir" value="build"/>
|
||||
<property name="dist.dir" value="."/>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<project name="adempiereApps" default="main" basedir=".">
|
||||
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<property name="src.dir" value="${basedir}/src"/>
|
||||
<property name="src.main.dir" value="${src.dir}/main"/>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<project name="adempiereRoot" default="main" basedir=".">
|
||||
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<property name="xdoclet.home" value="../tools" />
|
||||
<property name="xdoclet.force" value="false" />
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<property name="build.dir" value="build"/>
|
||||
<property name="dist.dir" value="."/>
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
|
||||
<path id="project.class.path">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<property name="jboss.dir" value="../jboss"/>
|
||||
<property name="dist.dir" value="../lib"/>
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<!-- set path to include the necessary jar files for javac -->
|
||||
<path id="project.class.path">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
env.ADEMPIERE_SOURCE=/home/jgubo/Development/Java/adempiere/trunk
|
||||
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
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</description>
|
||||
<!-- set global properties for this build -->
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="./utils_dev/build.properties"/>
|
||||
<import file="./properties.xml"/>
|
||||
<property name="src" value="src"/>
|
||||
<property name="build.dir" value="build"/>
|
||||
<target name="init" description="initialization target">
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version='1.0'?>
|
||||
<project name="properties" basedir=".">
|
||||
<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"/>
|
||||
|
||||
<!-- Here we could add most common buildpaths -->
|
||||
|
||||
</project>
|
|
@ -7,7 +7,7 @@
|
|||
<project name="webCM" default="main" basedir=".">
|
||||
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<property name="src.dir" value="${basedir}/src"/>
|
||||
<property name="src.main.dir" value="${src.dir}/main"/>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<project name="adempiereWebStore" default="main" basedir=".">
|
||||
|
||||
<!--<property environment="env"/>-->
|
||||
<property file="../utils_dev/build.properties"/>
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
||||
<property name="src.dir" value="${basedir}/src"/>
|
||||
<property name="src.main.dir" value="${src.dir}/main"/>
|
||||
|
|
Loading…
Reference in New Issue