-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
37 lines (33 loc) · 871 Bytes
/
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"?>
<project name="RELAX NG datatype" basedir="." default="release">
<!-- create a distribution package -->
<target name="release">
<tstamp />
<!-- compile files -->
<mkdir dir="temp" />
<javac srcdir="src" debug="true"
destdir="temp">
<include name="**/*.java" />
</javac>
<!-- creates src zip -->
<delete file="src.zip"/>
<zip zipfile="src.zip"
compress="true">
<fileset dir="src" excludes="**/CVS/**/*.*" />
</zip>
<!-- creates binary jar -->
<delete file="relaxngDatatype.jar"/>
<jar jarfile="relaxngDatatype.jar"
compress="true">
<fileset dir="temp" />
<fileset dir="" includes="COPYING.txt"/>
<!-- resource files -->
<fileset dir="src">
<patternset>
<include name="**/*.properties" />
</patternset>
</fileset>
</jar>
<delete dir="temp" />
</target>
</project>