Git

1 <project name="jMoule" default="dist" basedir=".">\r
2 \r
3   <description>jMoule</description>\r
4 \r
5   <property name="src" location="src"/>\r
6   <property name="build" location="build"/>\r
7   <property name="dist" location="dist"/>\r
8   <property name="name" location="${dist}/jMoule.jar"/>\r
9   \r
10   <target name="compile" description="compile the source">\r
11     <javac srcdir="${src}" destdir="${build}"/>\r
12   </target>\r
13 \r
14   <target name="dist" depends="compile" description="generate the distribution">\r
15     <jar jarfile="${name}" manifest="${src}/manifest.txt" basedir="${build}"/>\r
16   </target>\r
17 \r
18   <target name="exec" depends="dist" description="run the project">\r
19     <java jar="${name}" fork="true"/>\r
20   </target>\r
21 \r
22 </project>