-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
37 lines (34 loc) · 1.18 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
27
28
29
30
31
32
33
34
35
36
37
<project name="JKit" default="build">
<target name="compile">
<javac debug="true" srcdir="." includes="jkit/**" excludes="jkit/testing/**"/>
</target>
<target name="build" depends="compile">
<mkdir dir="tmp"/>
<manifest file="tmp/MANIFEST.MF">
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="jkit.Main"/>
</manifest>
<jar destfile="lib/jkit.jar" basedir="." includes="jkit/**/*.class" manifest="tmp/MANIFEST.MF"/>
</target>
<target name="doc">
<javadoc
packagenames="jkit.*"
excludepackagenames="jkit.testing.*,jkit.java.parser.*"
sourcepath="."
destdir="docs/api"
author="true"
version="true"
use="true"
windowtitle="JKit API">
<doctitle><![CDATA[<h1>The Java Compiler Kit (JKit)</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 2008 David J. Pearce. All Rights Reserved.</i>]]></bottom>
</javadoc>
</target>
<target name="clean">
<delete includeEmptyDirs="true" failonerror="false">
<fileset file="lib/*.jar"/>
<fileset dir="." includes="**/*.class"/>
<fileset dir="tmp/" includes="**"/>
</delete>
</target>
</project>