This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbuildSequencer.xml
45 lines (37 loc) · 1.92 KB
/
buildSequencer.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
<?xml version="1.0"?>
<project name="SampleRTE" default="buildSequencerJar" >
<description>Compiles code for the Sequencer.Jar</description>
<!--creates directories if they don't already exist -->
<target name="init">
</target>
<target name="compile" depends="init">
<javac destdir="${buildDir}" srcdir="${src}" includes="org/adl/samplerte/util/LMSDBHandler.java" >
<classpath>
<pathelement location="${buildDir}/debug.jar"/>
</classpath>
</javac>
<!-- I'm not sure why this was here and I'm leaving it in case it was necessary
<javac destdir="${buildDir}" srcdir="${adlDir}/datamodels/">
<include name="ADLDuration.java" />
<classpath>
<pathelement location="${buildDir}/debug.jar"/>
<pathelement location="${buildDir}/cmidatamodel.jar"/>
</classpath>
</javac>
-->
<javac destdir="${buildDir}" srcdir="${src}" includes="org/adl/sequencer/" >
<classpath>
<pathelement location="${buildDir}/debug.jar"/>
<pathelement location="${lib}/xalan.jar"/>
</classpath>
</javac>
</target>
<target name="buildSequencerJar" depends="compile">
<echo message="building jar file from class files"/>
<jar destfile="${buildDir}/${sequencerJar}" basedir="${buildDir}"
includes="org/adl/sequencer/**,
org/adl/samplerte/util/LMSDBHandler.class"/>
</target>
<!--If just the debug.jar is being built, then this will delete the temp build directory after the jar is copied to the lib folder. <target name="buildAdlValidator" depends="buildSequencerJar" />
-->
</project>