Paste: my build.xml
Author: | Rex |
Mode: | xml |
Date: | Wed, 23 Feb 2011 01:36:18 |
Plain Text |
<project name="openflight" default="dist" basedir=".">
<description>
OpenFlight Ant Build File
</description>
<property name="version" value="0.57"/>
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<target name="init">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init"
description="compile the source " >
<javac srcdir="${src}" destdir="${build}" includeantruntime="false">
<classpath>
<pathelement location="lib/jogl-all.jar"/>
<pathelement location="lib/gluegen-rt.jar"/>
</classpath>
</javac>
</target>
<target name="dist" depends="compile"
description="generate the distribution" >
<mkdir dir="${dist}"/>
<jar basedir="${build}" jarfile="${dist}/openflight-${version}.jar" manifest="openflight.manifest" update="true"/>
</target>
<target name="clean"
description="clean up" >
<delete dir="${build}"/>
</target>
</project>
New Annotation