forked from NCIP/nci-diff-CDISC
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.xml
35 lines (27 loc) · 1.19 KB
/
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
<project name="DiffCDISC" basedir=".">
<!-- *************************** -->
<!-- Properties -->
<!-- *************************** -->
<property name="dist.dir" value="./dist"/>
<property name="classes.dir" value="./classes"/>
<property name="src.dir" value="./src"/>
<!-- *************************** -->
<!-- Targets for building -->
<!-- *************************** -->
<target name="clean" description="Removes generated artifacts">
<delete dir="${classes.dir}" quiet="true"/>
<delete file="${dist.dir}/DiffCDISC.jar" quiet="true"/>
</target>
<target name="init" depends="clean" description="Creates necessary directories">
<mkdir dir="${classes.dir}"/>
</target>
<target name="compile" depends="init" description="Compiles">
<javac srcdir="${src.dir}" destdir="${classes.dir}" encoding="cp1252" debug="true" debuglevel="lines,source"/>
</target>
<!-- *******************************-->
<!-- Targets for packaging -->
<!-- *******************************-->
<target name="build" depends="compile" description="Package code into a jar file">
<jar destfile= "${dist.dir}/DiffCDISC.jar" basedir="${classes.dir}"/>
</target>
</project>