forked from gaeaplus/gaeaplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
31 lines (26 loc) · 969 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
<project name="GaeaPlusOpenSource" default="dist">
<property name="lib-jars" value="lib/gluegen-rt.jar:lib/jogl-all.jar:lib/gdal.jar:lib/plugin.jar"/>
<property name="gaea-jar" value="build/jar/GaeaPlusOpenSource.jar"/>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<copy todir="build/classes">
<fileset dir="src" excludes="**/*.java"/>
</copy>
<javac srcdir="src" destdir="build/classes" classpath="${lib-jars}"/>
</target>
<target name="dist" depends="compile">
<mkdir dir="build/jar"/>
<jar destfile="${gaea-jar}" basedir="build/classes"/>
</target>
<target name="run" depends="dist">
<java dir="." fork="true" classname="si.xlab.gaea.examples.GaeaApplicationExample">
<classpath>
<pathelement path="${lib-jars}"/>
<pathelement location="${gaea-jar}"/>
</classpath>
</java>
</target>
</project>