contribution [ 1647225 ] Improved ANT scripts and NetBeans integration - by Johannes Gubo (deathmeat)

This commit is contained in:
kthiemann 2007-01-30 09:06:53 +00:00
parent e4f56664c3
commit b8c96c1581
18 changed files with 1026 additions and 728 deletions

View File

@ -156,12 +156,12 @@
<!-- =========================================== -->
<target name="clean">
<!-- Delete the ${build.dir} directory trees -->
<delete dir="${build.dir}"/>
<!--<delete dir="${build.dir}"/>-->
<!-- Delete the Doc/Source files -->
<delete file="${dist.dir}/${jar.name}.jar" failonerror="false"/>
<delete file="${dist.dir}/${jar.name}Doc.jar" failonerror="false"/>
<delete file="${dist.dir}/${jar.name}Source.jar" failonerror="false"/>
<delete dir="${needed.dir}"/>
<!--<delete dir="${needed.dir}"/>-->
</target>
@ -213,4 +213,4 @@
keystore="../keystore/myKeystore"/>
</target>
</project>
</project>

View File

@ -13,7 +13,8 @@
<property name="build.dir" value="build"/>
<property name="dist.dir" value="."/>
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<!-- set path to include the necessary jar files for javac -->
<path id="project.class.path">

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,8 @@
<property name="build.dir" value="build"/>
<property name="dist.dir" value="../lib"/>
<property name="jar.path" value="../lib"/>
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<!-- set path to include the necessary jar files for javac -->
<path id="project.class.path">

View File

@ -12,7 +12,8 @@
</description>
<!-- set global properties for this build -->
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<property name="src" value="src"/>
<property name="build.dir" value="build"/>
<property name="dist.dir" value="."/>

View File

@ -10,7 +10,8 @@
This buildfile is used to create the Adempiere installer.
</description>
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<property name="adempiere.dir" value="../"/>
<property name="web.dir" value="../../adempiereWeb"/>
<property name="dbStartup.dir" value="../db/database/Startup"/>

View File

@ -17,7 +17,8 @@
<property name="jar.path" value="../lib"/>
<property name="jar.name" value="CLooks"/>
<property name="version" value="_13"/>
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<!-- set path to include the necessary jar files for javac -->
<path id="project.class.path">

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
</project-private>

View File

@ -1,27 +1,293 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>adempiere311</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
<source-roots>
<root id="src.dir"/>
<root id="adempiere2.dir"/>
<root id="src.src.dir"/>
<root id="adempiere3.dir"/>
<root id="adempiere4.dir"/>
<root id="adempiere5.dir"/>
<root id="adempiere6.dir"/>
<root id="adempiere7.dir"/>
<root id="adempiere8.dir"/>
<root id="adempiere9.dir"/>
<root id="adempiere10.dir"/>
<root id="adempiere12.dir"/>
<root id="src.src2.dir"/>
<root id="adempiere13.dir"/>
</source-roots>
<test-roots/>
</data>
</configuration>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.ant.freeform</type>
<configuration>
<general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
<!-- Do not use Project Properties customizer when editing this file manually. -->
<name>adempiere</name>
<properties>
<property name="ant.script">utils_dev/build.xml</property>
</properties>
<folders>
<source-folder>
<label>base/src</label>
<type>java</type>
<location>base/src</location>
</source-folder>
<source-folder>
<label>client/src</label>
<type>java</type>
<location>client/src</location>
</source-folder>
<source-folder>
<label>dbPort/src</label>
<type>java</type>
<location>dbPort/src</location>
</source-folder>
<source-folder>
<label>extend/src</label>
<type>java</type>
<location>extend/src</location>
</source-folder>
<source-folder>
<label>install/src</label>
<type>java</type>
<location>install/src</location>
</source-folder>
<source-folder>
<label>interfaces/src</label>
<type>java</type>
<location>interfaces/src</location>
</source-folder>
<source-folder>
<label>JasperReports/src</label>
<type>java</type>
<location>JasperReports/src</location>
</source-folder>
<source-folder>
<label>JasperReportsWebApp/src</label>
<type>java</type>
<location>JasperReportsWebApp/src</location>
</source-folder>
<source-folder>
<label>looks/src</label>
<type>java</type>
<location>looks/src</location>
</source-folder>
<source-folder>
<label>migration/src</label>
<type>java</type>
<location>migration/src</location>
</source-folder>
<source-folder>
<label>print/src</label>
<type>java</type>
<location>print/src</location>
</source-folder>
<source-folder>
<label>serverApps/src</label>
<type>java</type>
<location>serverApps/src</location>
</source-folder>
<source-folder>
<label>serverRoot/src</label>
<type>java</type>
<location>serverRoot/src</location>
</source-folder>
<source-folder>
<label>sqlj/src</label>
<type>java</type>
<location>sqlj/src</location>
</source-folder>
<source-folder>
<label>tools/src</label>
<type>java</type>
<location>tools/src</location>
</source-folder>
<source-folder>
<label>webCM/src</label>
<type>java</type>
<location>webCM/src</location>
</source-folder>
<source-folder>
<label>webStore/src</label>
<type>java</type>
<location>webStore/src</location>
</source-folder>
</folders>
<ide-actions>
<action name="build">
<script>${ant.script}</script>
<target>complete</target>
</action>
<action name="clean">
<script>${ant.script}</script>
<target>clean</target>
</action>
<action name="run">
<script>${ant.script}</script>
<target>runSetup</target>
</action>
<action name="rebuild">
<script>${ant.script}</script>
<target>clean</target>
<target>complete</target>
</action>
</ide-actions>
<view>
<items>
<source-folder style="packages">
<label>base/src</label>
<location>base/src</location>
</source-folder>
<source-folder style="packages">
<label>client/src</label>
<location>client/src</location>
</source-folder>
<source-folder style="packages">
<label>dbPort/src</label>
<location>dbPort/src</location>
</source-folder>
<source-folder style="packages">
<label>extend/src</label>
<location>extend/src</location>
</source-folder>
<source-folder style="packages">
<label>install/src</label>
<location>install/src</location>
</source-folder>
<source-folder style="packages">
<label>interfaces/src</label>
<location>interfaces/src</location>
</source-folder>
<source-folder style="packages">
<label>JasperReports/src</label>
<location>JasperReports/src</location>
</source-folder>
<source-folder style="packages">
<label>JasperReportsWebApp/src</label>
<location>JasperReportsWebApp/src</location>
</source-folder>
<source-folder style="packages">
<label>looks/src</label>
<location>looks/src</location>
</source-folder>
<source-folder style="packages">
<label>migration/src</label>
<location>migration/src</location>
</source-folder>
<source-folder style="packages">
<label>print/src</label>
<location>print/src</location>
</source-folder>
<source-folder style="packages">
<label>serverApps/src</label>
<location>serverApps/src</location>
</source-folder>
<source-folder style="packages">
<label>serverRoot/src</label>
<location>serverRoot/src</location>
</source-folder>
<source-folder style="packages">
<label>sqlj/src</label>
<location>sqlj/src</location>
</source-folder>
<source-folder style="packages">
<label>tools/src</label>
<location>tools/src</location>
</source-folder>
<source-folder style="packages">
<label>webCM/src</label>
<location>webCM/src</location>
</source-folder>
<source-folder style="packages">
<label>webStore/src</label>
<location>webStore/src</location>
</source-folder>
<source-file>
<location>${ant.script}</location>
</source-file>
</items>
<context-menu>
<ide-action name="build"/>
<ide-action name="clean"/>
<ide-action name="run"/>
<ide-action name="rebuild"/>
<action>
<script>${ant.script}</script>
<label>Run Setup</label>
<target>runSetup</target>
</action>
</context-menu>
</view>
<subprojects/>
</general-data>
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
<compilation-unit>
<package-root>base/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>client/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>dbPort/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>extend/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>install/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>interfaces/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>JasperReports/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>JasperReportsWebApp/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>looks/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>migration/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>print/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>serverApps/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>serverRoot/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>sqlj/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>tools/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>webCM/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
<package-root>webStore/src</package-root>
<classpath mode="compile">lib/Adempiere.jar:lib/adempiereApps.jar:lib/adempiereApps.war:lib/adempiereRoot.jar:lib/adempiereRootBase.war:lib/adempiereWebCMbase.war:lib/adempiereWebStore.war:lib/CCTools.jar:lib/CSTools.jar:lib/customization.jar:lib/db2.jar:lib/derby.jar:lib/freepdf.jar:lib/fyracle.jar:lib/jboss.jar:lib/jPDF.jar:lib/oracle.jar:lib/patches.jar:lib/postgresql.jar:lib/sqlServer.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
</java-data>
</configuration>
</project>

View File

@ -11,7 +11,8 @@
</description>
<!-- set global properties for this build -->
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<property name="src" value="src"/>
<property name="build.dir" value="build"/>
<property name="dist.dir" value="."/>

View File

@ -6,79 +6,80 @@
<project name="adempiereApps" default="main" basedir=".">
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="src.main.dir" value="${src.dir}/main"/>
<property name="src.client.dir" value="${src.main.dir}/client"/>
<property name="src.ejb.dir" value="${src.main.dir}/ejb"/>
<property name="src.servlet.dir" value="${src.main.dir}/servlet"/>
<property name="src.resources.dir" value="${src.dir}/resources"/>
<property name="src.web.dir" value="${src.dir}/web"/>
<property name="src.etc.dir" value="${src.dir}/etc"/>
<property name="src.server.dir" value="${src.main.dir}/server"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="build.tmp.dir" value="${build.dir}/tmp"/>
<property name="build.deploy.dir" value="${build.dir}/deploy"/>
<property name="build.war.dir" value="${build.dir}/war"/>
<property name="build.jar.dir" value="${build.dir}/jar"/>
<target name="serverAppsInit">
<echo message="=========== Build Server Application"/>
<tstamp/>
</target>
<property name="src.dir" value="${basedir}/src"/>
<property name="src.main.dir" value="${src.dir}/main"/>
<property name="src.client.dir" value="${src.main.dir}/client"/>
<property name="src.ejb.dir" value="${src.main.dir}/ejb"/>
<property name="src.servlet.dir" value="${src.main.dir}/servlet"/>
<property name="src.resources.dir" value="${src.dir}/resources"/>
<property name="src.web.dir" value="${src.dir}/web"/>
<property name="src.etc.dir" value="${src.dir}/etc"/>
<property name="src.server.dir" value="${src.main.dir}/server"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="build.tmp.dir" value="${build.dir}/tmp"/>
<property name="build.deploy.dir" value="${build.dir}/deploy"/>
<property name="build.war.dir" value="${build.dir}/war"/>
<property name="build.jar.dir" value="${build.dir}/jar"/>
<target name="serverAppsInit">
<echo message="=========== Build Server Application"/>
<tstamp/>
</target>
<path id="base.path">
<pathelement location="../lib/Adempiere.jar" />
<pathelement location="../lib/CSTools.jar" />
<pathelement location="../tools/lib/j2ee.jar" />
<pathelement location="${build.classes.dir}" />
</path>
<!-- =========================================== -->
<!-- Compiles the source code -->
<!-- =========================================== -->
<target name="serverAppsCompile" depends="serverAppsInit">
<!-- Compile Web -->
<mkdir dir="${build.war.dir}"/>
<path id="web.path">
<path refid="base.path"/>
<pathelement location="${servlet-lib.path}"/>
</path>
<javac
destdir="${build.war.dir}"
debug="on"
deprecation="off"
optimize="on"
classpathref="web.path">
<src path="${src.servlet.dir}"/>
</javac>
<copy todir="${build.war.dir}">
<fileset dir="${src.servlet.dir}">
<include name="**/images/*"/>
<include name="**/*.gif"/>
<include name="**/*.jpg"/>
<include name="**/*.wav"/>
<include name="**/*.htm"/>
<include name="**/*.html"/>
<include name="**/*.properties"/>
<exclude name="**/package.html"/>
</fileset>
</copy>
</target>
<!-- =========================================== -->
<!-- Creates the jar archives -->
<!-- =========================================== -->
<target name="serverAppsJar" depends="serverAppsCompile">
<mkdir dir="${build.jar.dir}"/>
<target name="serverAppsCompile" depends="serverAppsInit">
<!-- Compile Web -->
<mkdir dir="${build.war.dir}"/>
<path id="web.path">
<path refid="base.path"/>
<pathelement location="${servlet-lib.path}"/>
</path>
<javac
destdir="${build.war.dir}"
debug="on"
deprecation="off"
optimize="on"
classpathref="web.path">
<src path="${src.servlet.dir}"/>
</javac>
<copy todir="${build.war.dir}">
<fileset dir="${src.servlet.dir}">
<include name="**/images/*"/>
<include name="**/*.gif"/>
<include name="**/*.jpg"/>
<include name="**/*.wav"/>
<include name="**/*.htm"/>
<include name="**/*.html"/>
<include name="**/*.properties"/>
<exclude name="**/package.html"/>
</fileset>
</copy>
</target>
<!-- =========================================== -->
<!-- Creates the jar archives -->
<!-- =========================================== -->
<target name="serverAppsJar" depends="serverAppsCompile">
<mkdir dir="${build.jar.dir}"/>
<!-- Jar Apps Code -->
<jar
@ -99,13 +100,13 @@
</manifest>
</jar>
</target>
<!-- =========================================== -->
<!-- Creates the war archives -->
<!-- =========================================== -->
<target name="serverAppsWar" depends="serverAppsJar">
<mkdir dir="${build.deploy.dir}"/>
</target>
<!-- =========================================== -->
<!-- Creates the war archives -->
<!-- =========================================== -->
<target name="serverAppsWar" depends="serverAppsJar">
<mkdir dir="${build.deploy.dir}"/>
<!-- War Web Descriptor -->
<war
@ -124,21 +125,21 @@
</manifest>
</war>
</target>
<!-- =========================================== -->
<!-- Creates the server binary -->
<!-- =========================================== -->
<target name="serverAppsDeployServer" depends="serverAppsWar">
<copy todir="../lib">
<fileset dir="${build.deploy.dir}"
includes="*.jar,*.war,*.ear"/>
<fileset dir="${build.jar.dir}"
includes="*.jar,*.war,*.ear"/>
</copy>
</target>
<!-- =========================================== -->
<!-- =========================================== -->
<!-- Creates the server binary -->
<!-- =========================================== -->
<target name="serverAppsDeployServer" depends="serverAppsWar">
<copy todir="../lib">
<fileset dir="${build.deploy.dir}"
includes="*.jar,*.war,*.ear"/>
<fileset dir="${build.jar.dir}"
includes="*.jar,*.war,*.ear"/>
</copy>
</target>
<!-- =========================================== -->
<!-- Creates the binary structure -->
<!-- =========================================== -->
<target name="main" depends="serverAppsDeployServer">
@ -146,8 +147,8 @@
</target>
<!-- =========================================== -->
<!-- Cleans up the current build -->
<!-- =========================================== -->
<!-- Cleans up the current build -->
<!-- =========================================== -->
<target name="clean">
<delete dir="${build.dir}"/>

View File

@ -6,7 +6,8 @@
<project name="adempiereRoot" default="main" basedir=".">
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<property name="xdoclet.home" value="../tools" />
<property name="xdoclet.force" value="false" />
@ -224,11 +225,11 @@
<!-- Cleans up the current build -->
<!-- =========================================== -->
<target name="clean">
<delete dir="${build.dir}" failonerror="false"/>
<delete dir="${build.dir}" failonerror="false"/>
<!-- This is boring to delete these
<delete>
<fileset dir="${src.interfaces.dir}" includes="**/*.java"/>
</delete>
</delete>
-->
</target>

View File

@ -8,7 +8,8 @@
<property name="src" value="src"/>
<property name="build.dir" value="build"/>
<property name="dist.dir" value="."/>
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<path id="project.class.path">

View File

@ -23,7 +23,8 @@
<property name="buildPostgreSQL.dir" value="build/PostgreSQL"/>
<property name="jboss.dir" value="../jboss"/>
<property name="dist.dir" value="../lib"/>
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<!-- set path to include the necessary jar files for javac -->
<path id="project.class.path">

View File

@ -0,0 +1,10 @@
env.ADEMPIERE_SOURCE=/home/jgubo/Development/Java/adempiere/trunk
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=313
env.ADEMPIERE_VENDOR=ADempiere
env.ENCODING=UTF-8
env.XDOCLET_HOME=${env.ADEMPIERE_SOURCE}/tools
env.ADEMPIERE_ENV=Y

View File

@ -7,7 +7,8 @@
This buildfile is used to build the Adempiere system.
</description>
<!-- set global properties for this build -->
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="./utils_dev/build.properties"/>
<property name="src" value="src"/>
<property name="build.dir" value="build"/>
<target name="init" description="initialization target">
@ -66,11 +67,13 @@
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>
<!-- ================================================ -->

View File

@ -6,7 +6,8 @@
<project name="webCM" default="main" basedir=".">
<property environment="env"/>
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="src.main.dir" value="${src.dir}/main"/>

View File

@ -6,6 +6,9 @@
<project name="adempiereWebStore" default="main" basedir=".">
<!--<property environment="env"/>-->
<property file="../utils_dev/build.properties"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="src.main.dir" value="${src.dir}/main"/>
<property name="src.web.dir" value="${src.dir}/web"/>