forked from nantaya/litetext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
42 lines (34 loc) · 1.29 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
38
39
40
41
<project name="litetext" default="jar">
<target name="clean">
<delete dir="build"/>
</target>
<target name="init">
<mkdir dir="build/jar"/>
<mkdir dir="build/classes"/>
</target>
<target name="compile" depends="init">
<javac srcdir="src" destdir="build/classes"/>
</target>
<target name="resources">
<copy todir="build/classes">
<fileset dir="resources">
<include name="**/*" />
</fileset>
</copy>
</target>
<target name="jar" depends="compile, resources">
<jar destfile="build/litetext.jar" basedir="build/classes"/>
</target>
<target name="javadoc" description="o Create Javadocs for the demo (Requires Javadoc 1.4+)">
<mkdir dir="${basedir}/javadoc/"/>
<javadoc
destdir="${basedir}/javadoc/"
additionalparam="-J-Dorg.apache.commons.attributes.javadoc.CATaglet.sources=${basedir}">
<taglet
name="org.apache.commons.attributes.javadoc.CATaglet"
path="${ant.home}/lib/commons-attributes-compiler-2.2.jar"
/>
<fileset dir="${basedir}/" includes="**/*.java" />
</javadoc>
</target>
</project>