-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
38 lines (30 loc) · 1021 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
37
<project default="jar" basedir=".">
<property name="src.dir" location="${basedir}/src/main/java" />
<property name="res.dir" location="${basedir}/src/main/resources" />
<property name="bin.dir" location="${basedir}/bin" />
<property file="${basedir}/build.properties"/>
<path id="compile.classpath">
<fileset dir="${odm.dir}/teamserver/lib">
<include name="**/*.jar" />
</fileset>
<fileset dir="${odm.dir}/studio/lib"/>
</path>
<target name="clean-bin">
<delete dir="${bin.dir}" />
<mkdir dir="${bin.dir}" />
</target>
<target name="compile" depends="clean-bin">
<javac srcdir="${src.dir}"
destdir="${bin.dir}"
includeantruntime="false"
compiler="modern">
<classpath refid="compile.classpath" />
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="${basedir}/lightweight-domain-provider.jar">
<fileset dir="${bin.dir}"/>
<fileset dir="${res.dir}"/>
</jar>
</target>
</project>