* minor, fixed build issue.

This commit is contained in:
Heng Sin Low 2007-05-11 17:52:58 +00:00
parent 1b949c9576
commit 4fb3b6ac1a
1 changed files with 14 additions and 31 deletions

View File

@ -30,7 +30,6 @@
<property name="interfaces.dir" value="../base"/>
<property name="src.interfaces.dir" value="../base/src"/>
<property name="build.interfaces.dir" value="../base/classes"/>
<target name="adempiereRootInit">
@ -112,15 +111,26 @@
<target name="adempiereRootCompile" depends="adempiereRootXdoclet">
<mkdir dir="${build.classes.dir}"/>
<!-- Compile interface -->
<javac
destdir="${build.classes.dir}"
debug="on"
deprecation="off"
optimize="on"
encoding="UTF-8"
classpathref="base.path">
<src path="${src.interfaces.dir}"/>
<include name="org/compiere/interfaces/*"/>
</javac>
<!-- Compile all -->
<javac
destdir="${build.classes.dir}"
debug="on"
deprecation="off"
optimize="on"
classpathref="base.path">
classpathref="base.path">
<src path="${src.ejb.dir}"/>
<src path="${src.interfaces.dir}"/>
<src path="${src.servlet.dir}"/>
<src path="${src.server.dir}"/>
</javac>
@ -183,37 +193,10 @@
</target>
<!-- =========================================== -->
<!-- Creates the interface archive -->
<!-- =========================================== -->
<target name="adempiereRootInterfaces" depends="adempiereRootCompile">
<!-- Copy MBeans to interfaces -->
<copy todir="${src.interfaces.dir}">
<fileset dir="${src.server.dir}" includes="**/*MBean.java"/>
</copy>
<!-- Compile interfaces -->
<mkdir dir="${build.interfaces.dir}"/>
<javac
srcdir="${src.interfaces.dir}"
destdir="${build.interfaces.dir}"
debug="off"
deprecation="on"
optimize="on"
classpathref="base.path">
</javac>
<!-- Jar Interfaces -->
<jar
destfile="${interfaces.dir}/Interfaces.jar"
basedir="${build.interfaces.dir}" />
</target>
<!-- =========================================== -->
<!-- Deploy Server Files -->
<!-- =========================================== -->
<target name="adempiereRootDeployServer" depends="adempiereRootJar,adempiereRootWar,adempiereRootInterfaces">
<target name="adempiereRootDeployServer" depends="adempiereRootJar,adempiereRootWar,adempiereRootCompile">
<copy todir="../lib">
<fileset dir="${build.deploy.dir}"/>
</copy>