<?xml version="1.0" encoding="UTF-8"?>
<project name="smppWapSender" default="proguard" basedir=".">
<!-- set global properties for this build -->
<property name="src" value="src"/>
<property name="build" value="bin"/>
<property name="dist" value="build"/>
<property name="report" value="report"/>
<property name="lib" value="proguard/lib"/>
<property name="smppWapSendByHsqlDb" value="lib/antlr-2.7.6rc1.jar;lib/asm.jar;lib/asm-attrs.jar;lib/c3p0-0.9.0.4.jar;lib/cglib-2.1.3.jar;lib/commons-collections-2.1.1.jar;lib/commons-logging-1.0.4.jar;lib/dom4j-1.6.1.jar;lib/ehcache-1.1.jar;lib/hibernate3.jar;lib/hsqldb.jar;lib/jaas.jar;lib/jaxen-1.1-beta-7.jar;lib/jdbc2_0-stdext.jar;lib/jdom.jar;lib/jta.jar;lib/log4j-1.2.11.jar;lib/smppapi.jar;lib/xerces-2.6.2.jar;lib/xercesImpl.jar;lib/xml-apis.jar;lib/xmlParserAPIs.jar"/>
<path id="classpath">
<pathelement path="${smppWapSendByHsqlDb}"/>
<pathelement path="${build}"/>
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
<mkdir dir="${report}"/>
</target>
<target name="compile" depends="clean,init">
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}"
debug="off" target="1.4" classpathref="classpath"/>
</target>
<target name="debugcompile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}"
debug="on" target="1.4" classpathref="classpath"/>
</target>
<target name="test" depends="compile">
<tstamp/>
</target>
<target name="dist" depends="compile">
<!-- Create the distribution directory -->
<mkdir dir="${dist}/lib"/>
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
<jar jarfile="${dist}/smppwap_in.jar" basedir="${build}"
excludes="**/test/*,**/*.dep2,**/.dep*/*,**/*.di"/>
</target>
<target name="debugdist" depends="debugcompile">
<!-- Create the distribution directory -->
<mkdir dir="${dist}/lib"/>
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
<jar jarfile="${dist}/smppwap_in.jar" basedir="${build}"
excludes="**/test/*,**/*.dep2,**/.dep*/*,**/*.di"/>
</target>
<target name="proguard" depends="dist">
<taskdef resource="proguard/ant/task.properties" classpath="${lib}/proguard.jar" />
<proguard configuration="proguard/proguard.pro" />
</target>
<target name="clean">
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>