geronimo-specs/geronimo-spec-j2ee-connector-1.5-api.build.xml

32 lines
980 B
XML

<?xml version='1.0' encoding='utf-8'?>
<project name="geronimo-j2ee-connector-1.5-api" default="dist" basedir=".">
<property name="src" location="src/main/java/"/>
<property name="build" location="build"/>
<property name="dist" location="target"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
</target>
<target name="dist" depends="build">
<mkdir dir="${dist}"/>
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
<jar jarfile="${dist}/geronimo-j2ee-connector_1.5_spec-1.0.1.jar" basedir="${build}"/>
</target>
<target name="build" depends="init">
<javac srcdir="${src}" destdir="${build}"/>
</target>
<target name="clean" description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>