-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
31 lines (25 loc) · 838 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="Nu3A">
<property environment="env" />
<property name="target" value="1.6" />
<property name="source" value="1.6" />
<path id="Nu3A.classpath">
<pathelement location="dist/nu3a-1.0.jar" />
</path>
<target name="init">
<mkdir dir="bin" />
<mkdir dir="dist" />
</target>
<target name="clean">
<delete dir="bin" />
<delete dir="dist" />
</target>
<target depends="init" name="build">
<echo message="${ant.project.name}: ${ant.file}" />
<javac debug="false" destdir="bin" source="${source}" target="${target}" includeAntRuntime="false">
<src path="src" />
</javac>
<jar jarfile="dist/nu3a-1.0.jar" basedir="bin" />
<jar destfile="dist/nu3a-sources-1.0.jar" basedir="src" />
</target>
</project>