geronimo-specs/geronimo-spec-corba-1.0-apis.build.xml

33 lines
975 B
XML
Raw Normal View History

<?xml version='1.0' encoding='utf-8'?>
<project name="geronimo-corba-1.0-apis" 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-spec-corba-1.0.jar" basedir="${build}" includes="org/**"/>
</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>