-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
36 lines (30 loc) · 975 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
32
33
34
35
36
<project name="biosim2" basedir="." default="dist">
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="build.sysclasspath" value="last"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
<target name="compile-ann-wrapper">
<javac srcdir="swig/annwrapper" destdir="${build}" debug="on"/>
</target>
<target name="compile-kde-wrapper">
<javac srcdir="swig/kdewrapper" destdir="${build}" debug="on"/>
</target>
<target name="compile" depends="init, compile-ann-wrapper, compile-kde-wrapper">
<javac srcdir="${src}" destdir="${build}" debug="on">
<compilerarg value="-Xlint:unchecked"/>
</javac>
</target>
<target name="dist" depends="compile">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/biosim2.jar" basedir="${build}">
</jar>
</target>
</project>