-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
37 lines (34 loc) · 1016 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<project name="martianrovers" default="jar">
<property name="version" value="0.3"/>
<path id="classpath">
<fileset dir="lib" includes="**/*.jar" />
</path>
<target name="jar">
<mkdir dir="build" />
<javac classpathref="classpath" srcdir="src" debug="true" destdir="build" />
<copy todir="build">
<fileset dir="src" includes="**/*.png" />
</copy>
<unjar src="lib/iText-2.1.5.jar" dest="build">
<patternset>
<include name="**/*" />
</patternset>
</unjar>
<unjar src="lib/jcommon-1.0.16.jar" dest="build">
<patternset>
<include name="**/*" />
</patternset>
</unjar>
<unjar src="lib/jfreechart-1.0.13.jar" dest="build">
<patternset>
<include name="**/*" />
</patternset>
</unjar>
<jar destfile="martianrovers.jar" basedir="build" includes="**/*">
<manifest>
<attribute name="Version" value="${version}"/>
<attribute name="Main-Class" value="edu.bath.cs.martianrovers.tool.MartianRovers" />
</manifest>
</jar>
</target>
</project>