Mercurial > hg > mpdl-group
view software/mpdl-services/mpiwg-mpdl-lt/build/build.xml @ 19:4a3641ae14d2
Erstellung
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 09 Nov 2011 15:32:05 +0100 |
parents | |
children | e845310098ba |
line wrap: on
line source
<!DOCTYPE project> <project name="mpiwg-mpdl-lt" default="dist" basedir="../"> <description>mpiwg-mpdl-lt</description> <!-- global properties --> <property name="src" location="src"/> <property name="lib" location="lib"/> <property name="build" location="build/classes"/> <property name="dist" location="dist"/> <path id="classpath"> <fileset dir="${lib}" includes="**/*.jar"/> </path> <target name="init"> <!-- Create time stamp --> <tstamp/> <mkdir dir="${build}"/> <mkdir dir="${dist}"/> </target> <target name="compile" depends="init" description="compile"> <javac srcdir="${src}" destdir="${build}" classpathref="classpath" includeantruntime="false"/> <copy todir="${build}"> <fileset dir="${src}"> <include name="**/*.properties"/> </fileset> </copy> </target> <target name="dist" depends="compile" description="generate the distribution"> <jar jarfile="${dist}/mpiwg-mpdl-lt.jar" basedir="${build}"/> <copy todir="/Users/jwillenborg/java/mpiwg-mpdl-lt-web/WebContent/WEB-INF/lib"> <fileset dir="${lib}"> <include name="**/*jar"/> </fileset> </copy> <copy file="${dist}/mpiwg-mpdl-lt.jar" todir="/Users/jwillenborg/java/mpiwg-mpdl-lt-web/WebContent/WEB-INF/lib"/> </target> <target name="clean" description="clean" > <delete dir="${build}"/> <delete file="${dist}/mpiwg-mpdl-lt.jar"/> </target> </project>