-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
48 lines (40 loc) · 1.3 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
<project name="rivers"
default="compile"
basedir=".">
<property name="src.dir" value="${basedir}/src" />
<property name="lib.dir" value="${basedir}/lib" />
<property name="build.dir" value="${basedir}/bin" />
<property environment="env" />
<property name="run.dir" value="${env.WORK}/output" />
<path id="compile.classpath">
<fileset dir="${lib.dir}" includes="*.jar" />
</path>
<path id="run.classpath">
<pathelement path="${build.dir}" />
<path refid="compile.classpath" />
</path>
<target name="init">
<mkdir dir="${build.dir}" />
</target>
<target name="clean">
<delete dir="${build.dir}" />
</target>
<target name="compile" depends="init" description="compile">
<javac srcdir="${src.dir}"
destdir="${build.dir}"
includeantruntime="false"
classpathref="compile.classpath"
nowarn="true"
encoding="UTF-8" />
</target>
<target name="RunRiverSystems" depends="compile" description="run program RiverSystems">
<echo>RunRiverSystems ${args}</echo>
<java classname="com.skaringa.riversystem.RiverSystems"
fork="yes"
classpathref="run.classpath"
dir="${run.dir}">
<jvmarg value="-Xmx20G" />
<arg line="${args}" />
</java>
</target>
</project>