-
Notifications
You must be signed in to change notification settings - Fork 41
/
make.xml
44 lines (41 loc) · 1.58 KB
/
make.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
42
43
44
<project name="ImageScaling" default="compile" basedir=".">
<target name="clean">
<delete dir="build" />
</target>
<target name="compile" depends="clean">
<mkdir dir="build/classes"/>
<mkdir dir="dist"/>
<javac source="1.5" srcdir="src/main" destdir="build/classes" debug="true"
optimize="true" verbose="false" target="1.5">
<classpath path="dist/Filters.jar"/>
</javac>
<jar basedir="build/classes" destfile="dist/imagescaling${version}.jar">
<fileset dir="src/main" includes="**/*.properties"/>
<fileset dir="." includes="license.txt"/>
</jar>
<!-- <copy file="libs/Filters.jar" tofile="dist/Filters.jar" /> -->
</target>
<target name="source">
<zip destfile="dist/imagescaling_src_${version}.zip">
<fileset dir="." includes="make.xml"/>
<fileset dir="." includes="src/main/**/*"/>
<fileset dir="." includes="*.txt"/>
</zip>
</target>
<!-- <target name="source_test">
<zip destfile="dist/imagescaling_src_unittest_${version}.zip">
<fileset dir="." includes="make.xml"/>
<fileset dir="." includes="src/**/*"/>
<fileset dir="." includes="test/**/*"/>
<fileset dir="." includes="*.txt"/>
</zip>
</target>
-->
<target name="javadoc" depends="compile">
<mkdir dir="build/javadoc"/>
<javadoc destdir="build/javadoc" sourcepath="src/main" windowtitle="Image Scaling Library ${version}"/>
<zip destfile="dist/imagescaling_javadoc_${version}.zip">
<fileset dir="build/javadoc" includes="**/*"/>
</zip>
</target>
</project>