-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.xml
26 lines (26 loc) · 1.48 KB
/
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
<project name="fcpsKarel" default="dist-files" basedir=".">
<target name="build-all">
<javac srcdir="." classpath=".:xercesImpl.jar" target="1.5" />
</target>
<target name="rebuild-all" depends="clean, build-all" />
<target name="dist-files" depends="build-all">
<jar destfile="karel2.jar" basedir="." includes="**/*.class" manifest="manifest.txt" update="true" />
<jar destfile="karel2.jar" basedir="." includes="**/*.java" manifest="manifest.txt" update="true" />
<jar destfile="karel2.jar" basedir="." includes="icons/*.*" update="true" />
<jar destfile="karel2.jar" basedir="." includes="default.map" update="true" />
<jar destfile="karel2.jar" basedir="." includes="build.xml" manifest="manifest.txt" update="true" />
<jar destfile="karel2.jar" basedir="." includes="manifest.txt" manifest="manifest.txt" update="true" />
<jar destfile="karel2.jar" basedir="." includes="xercesImpl.jar" update="true" />
<jar destfile="karel2.jar" basedir="." includes="LICENSE.TXT" manifest="manifest.txt" update="true" />
<jar destfile="karel2.jar" basedir="." includes="README" manifest="manifest.txt" update="true" />
</target>
<target name="clean">
<delete>
<!--<fileset dir="." includes="**/*.class" />-->
<fileset dir="." includes="karel2.jar" />
</delete>
</target>
<target name="docs">
<javadoc sourcepath="." destdir="docs" packagenames="edu.fcps.*" />
</target>
</project>