source: liacs/TOOS/assignment1/build.xml@ 204

Last change on this file since 204 was 204, checked in by Rick van der Zwet, 14 years ago

Initial commit TOOS project/assignment

File size: 744 bytes
Line 
1<project>
2 <target name="init">
3 <property name="javac.includeAntRuntime" value="false" />
4 </target>
5
6 <target name="clean">
7 <delete dir="build"/>
8 </target>
9
10 <target name="compile" depends="init">
11 <mkdir dir="build/classes"/>
12 <javac srcdir="src" destdir="build/classes" includeAntRuntime="${javac.includeAntRuntime}" />
13 </target>
14
15 <target name="jar" depends="compile">
16 <mkdir dir="build/jar"/>
17 <jar destfile="build/jar/Census.jar" basedir="build/classes">
18 <manifest>
19 <attribute name="Main-Class" value="Census"/>
20 </manifest>
21 </jar>
22 </target>
23
24 <target name="run" depends="jar">
25 <java jar="build/jar/Census.jar" fork="true"/>
26 </target>
27</project>
Note: See TracBrowser for help on using the repository browser.