forked from vijedi/image4j
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
37 lines (29 loc) · 1.05 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="image4j" default="all" basedir=".">
<property name="src.dir" value="${basedir}/src"/>
<property name="build.dir" value="${basedir}/build/classes"/>
<property name="dist.dir" value="${basedir}/dist"/>
<property name="docs.dir" value="${dist.dir}/javadoc"/>
<target name="all" depends="clean,build,jar,docs"/>
<target name="clean">
<delete dir="${build.dir}"/>
</target>
<target name="build" depends="init">
<javac destdir="${build.dir}" srcdir="${src.dir}">
</javac>
</target>
<target name="jar" depends="init">
<jar basedir="${build.dir}" file="${dist.dir}/image4j.jar">
</jar>
</target>
<target name="docs" depends="init">
<javadoc destdir="${docs.dir}" windowtitle="image4j" overview="${src.dir}/overview.html">
<fileset dir="${src.dir}" includes="**/*.java"/>
</javadoc>
</target>
<target name="init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${dist.dir}"/>
<mkdir dir="${docs.dir}"/>
</target>
</project>