- webui.war doesn't unclude metainfo/zk/lang-addon.xml
This commit is contained in:
Heng Sin Low 2009-05-14 23:33:42 +00:00
parent 2a6109c8f0
commit e222c9f8ab
1 changed files with 10 additions and 5 deletions

View File

@ -24,14 +24,14 @@
<pathelement location="${basedir}"/> <pathelement location="${basedir}"/>
<pathelement location="${basedir}/WEB-INF/classes"/> <pathelement location="${basedir}/WEB-INF/classes"/>
<pathelement location="${basedir}/WEB-INF/src"/> <pathelement location="${basedir}/WEB-INF/src"/>
<pathelement location="${Adempiere.dir}/../base/build"/> <pathelement location="${Adempiere.dir}/../base/build"/>
<pathelement location="${Adempiere.dir}/../client/build"/> <pathelement location="${Adempiere.dir}/../client/build"/>
<pathelement location="${Adempiere.dir}/../JasperReports/build"/> <pathelement location="${Adempiere.dir}/../JasperReports/build"/>
<fileset dir="${Adempiere.dir}"> <fileset dir="${Adempiere.dir}">
<include name="*.jar"/> <include name="*.jar"/>
</fileset> </fileset>
<pathelement location="${Adempiere.dir}/../tools/lib/servlet-api.jar"/> <pathelement location="${Adempiere.dir}/../tools/lib/servlet-api.jar"/>
<fileset dir="${basedir}/WEB-INF/lib"> <fileset dir="${basedir}/WEB-INF/lib">
<include name="*.jar"/> <include name="*.jar"/>
@ -52,14 +52,19 @@
optimize="${compile.optimize}"> optimize="${compile.optimize}">
<classpath refid="compile.classpath"/> <classpath refid="compile.classpath"/>
</javac> </javac>
<copy todir="${classes.dir}">
<fileset dir="WEB-INF/src">
<include name="*.xml" />
</fileset>
</copy>
</target> </target>
<target name="war" depends="compile"> <target name="war" depends="compile">
<echo message="=========== Build Zk Ajax UI ==========="/> <echo message="=========== Build Zk Ajax UI ==========="/>
<delete dir="${dist.dir}" /> <delete dir="${dist.dir}" />
<mkdir dir="${dist.dir}"/> <mkdir dir="${dist.dir}"/>
<war <war
warfile="${dist.dir}/${war.name}.war" warfile="${dist.dir}/${war.name}.war"
webxml="${WEBINF.dir}/web.xml"> webxml="${WEBINF.dir}/web.xml">
@ -78,7 +83,7 @@
</fileset> </fileset>
</war> </war>
<copy file="${dist.dir}/${war.name}.war" tofile="../lib/${war.name}.war"/> <copy file="${dist.dir}/${war.name}.war" tofile="../lib/${war.name}.war"/>
</target> </target>
</project> </project>