core-jgi/webStore/build.xml

75 lines
3.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2006-11-17 10:15:48 +07:00
<!-- ======================================================== -->
<!-- Adempiere Web Store Application -->
<!-- ======================================================== -->
<!-- $Header: /cvs/adempiere/webStore/build.xml,v 1.2 2006/06/10 21:59:22 jjanke Exp $-->
<project name="adempiereWebStore" default="main" basedir=".">
<!--<property environment="env"/>-->
<import file="../utils_dev/properties.xml"/>
2006-11-17 10:15:48 +07:00
<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"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="build.deploy.dir" value="${build.dir}/deploy"/>
<target name="init">
<echo message="=========== Build Web Store"/>
<tstamp/>
<mkdir dir="${build.deploy.dir}"/>
</target>
<!-- =================================================================== -->
<!-- Creates the war archives -->
<!-- =================================================================== -->
<target name="war" depends="init">
<war
warfile="${build.deploy.dir}/adempiereWebStore.war"
webxml="${src.web.dir}/WEB-INF/web.xml">
<fileset dir="${src.web.dir}" excludes="**/web.xml,**/lib/**,**/classes/**"/>
<manifest>
<attribute name="Specification-Title" value="AdempiereWebStore"/>
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}"/>
2006-12-19 11:50:12 +07:00
<attribute name="Specification-Vendor" value="Adempiere, Inc."/>
2006-11-17 10:15:48 +07:00
<attribute name="Implementation-Title" value="AdempiereWebStore ${env.ADEMPIERE_VERSION}"/>
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}"/>
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}"/>
<attribute name="Implementation-URL" value="http://www.adempiere.com"/>
<attribute name="Class-Path" value="Adempiere.jar AdempiereSLib.jar adempiereApps.jar"/>
</manifest>
</war>
</target>
<!-- =================================================================== -->
<!-- Creates the server binary -->
<!-- =================================================================== -->
<target name="deploy-server" depends="war">
<copy file="src/ear/application.xml" tofile="../lib/adempiereWebStore.xml"/>
<copy todir="../lib">
<fileset dir="${build.deploy.dir}" includes="*.jar,*.war,*.ear"/>
</copy>
</target>
<!-- =================================================================== -->
<!-- Creates the binary structure -->
<!-- =================================================================== -->
<target name="main" depends="deploy-server">
</target>
<!-- =================================================================== -->
<!-- Cleans up the current build -->
<!-- =================================================================== -->
<target name="clean">
<delete dir="${build.dir}"/>
<delete file="../lib/adempiereWebStore.war" failonerror="false"/>
2007-02-16 06:08:12 +07:00
<delete file="../lib/adempiereWebStore.xml"/>
2006-11-17 10:15:48 +07:00
</target>
</project>