-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
22 lines (22 loc) · 841 Bytes
/
build.xml
File metadata and controls
22 lines (22 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!-- Generates a JAR file with JAR source file. -->
<project name="generate_jar" default="all">
<property name="dir.bin" location="bin/" />
<property name="dir.src" location="src/" />
<property name="dir.jar" location="jar/" />
<target name="all" depends="clr,jar,src">
<!-- Runs all the other targets. -->
</target>
<target name="clr">
<delete file="${dir.jar}/ssdf2.jar" />
<delete file="${dir.jar}/ssdf2-source.jar" />
</target>
<target name="jar">
<echo message="Generating JAR file..." />
<jar destfile="${dir.jar}/ssdf2.jar" basedir="${dir.bin}" />
</target>
<target name="src" depends="jar">
<echo message="Generating JAR source file..." />
<zip destfile="${dir.jar}/ssdf2-source.jar" basedir="${dir.src}" />
</target>
</project>