forked from vonbladet/vri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
55 lines (53 loc) · 1.7 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<project name="vri" basedir="." default="compile">
<property name="src.dir" value="src"/>
<property name="bin.dir" value="bin"/>
<property name="jar.dir" value="jar"/>
<!-- <property name="build.compiler" value="javac1.5"/> -->
<path id="classpath">
<pathelement path="{bin.dir}"/>
<pathelement path="../JavaBin"/>
<pathelement path="../JTransforms/bin"/>
</path>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<javac srcdir="${src.dir}/earth" destdir="${bin.dir}"
debug="true" debuglevel="lines,vars,source"
includeantruntime="false">
<classpath refid="classpath"/>
</javac>
<javac srcdir="${src.dir}/vri" destdir="${bin.dir}"
debug="true" debuglevel="lines,vars,source"
includeantruntime="false">
<compilerarg value="-Xlint:all,-serial"/>
<classpath refid="classpath"/>
</javac>
</target>
<target name="jar">
<jar destfile="${jar.dir}/vrijr.jar">
<fileset dir="${bin.dir}"/>
<fileset dir="../JavaBin"/>
<fileset dir="../JTransforms/bin"/>
<fileset dir="resources"/>
<manifest>
<attribute name="Main-Class" value="nl.jive.vri.vrijr"/>
</manifest>
</jar>
<jar destfile="${jar.dir}/vri.jar">
<fileset dir="${bin.dir}"/>
<fileset dir="../JavaBin"/>
<fileset dir="../JTransforms/bin"/>
<fileset dir="resources"/>
<manifest>
<attribute name="Main-Class" value="nl.jive.vri.vri"/>
</manifest>
</jar>
</target>
<target name="run">
<java jar="${jar.dir}/vri.jar" fork="true"/>
</target>
<target name="runjr">
<java jar="${jar.dir}/vrijr.jar" fork="true"/>
</target>
</project>