This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-template.xml
45 lines (32 loc) · 1.93 KB
/
build-template.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
<!-- Inner build file for a module in the CogX system -->
<project name="myproject" default="compile" basedir=".">
<!-- Controls where the output goes -->
<property name="output.dir" value="../../output/classes" />
<!-- Controls what is compiled -->
<property name="src.dir" value="./src/java" />
<property name="slice.dir" value="./src/slice" />
<!-- Includes the slice2java task from Ice. Requires ant-ice.jar to be in your classpath -->
<taskdef name="slice2java" classname="Slice2JavaTask"/>
<!-- =================================================================== -->
<!-- Preparation -->
<!-- =================================================================== -->
<target name="prepare" description="any project-specific init">
<mkdir dir="${output.dir}"/>
</target>
<!-- =================================================================== -->
<!-- Source generation -->
<!-- =================================================================== -->
<target name="slice" depends="prepare" description="generates source from slice">
</target>
<!-- =================================================================== -->
<!-- Basic compilation -->
<!-- =================================================================== -->
<target name="compile" depends="slice" description="compiles the source code">
<javac srcdir="${src.dir}" destdir="${output.dir}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}" debuglevel="lines,vars,source" />
</target>
<!-- =================================================================== -->
<!-- Cleanup -->
<!-- =================================================================== -->
<target name="clean">
</target>
</project>