01 <project name="value" default="all" basedir=".">
02
03 <!-- set global properties for this build -->
04 <property environment="env"/>
05 <property file="../../medrec.properties"/>
06 <property name="build.compiler" value="${compiler}"/>
07
08 <property name="exceptions.source" value="."/>
09 <property name="exceptions.build" value="${build.tmp}"/>
10
11 <target name="all" depends="build"/>
12
13 <target name="build" depends="clean, banner, compile, jar"/>
14
15 <target name="banner">
16 <!-- Create the time stamp -->
17 <tstamp/>
18 <echo message="#### S T A R T C O M M O N E X C E P T I O N S ####"/>
19 <mkdir dir="${exceptions.build}"/>
20 </target>
21
22 <!-- Compile base value object -->
23 <target name="compile">
24 <javac srcdir="${exceptions.source}" destdir="${exceptions.build}"
25 includes="**/*.java"
26 classpath="${log.classpath}"
27 deprecation="${deprecation}"
28 debug="${debug}" debugLevel="${debugLevel}"
29 />
30 </target>
31
32 <!-- Make a standard jar file -->
33 <target name="jar">
34 <jar jarfile="${exceptions.classpath}"
35 basedir="${exceptions.build}"
36 update="yes">
37 </jar>
38 <ant target="clean.build"/>
39 </target>
40
41 <target name="clean.build">
42 <delete dir="${exceptions.build}"/>
43 </target>
44
45 <target name="clean" depends="clean.build">
46 <delete file="${exceptions.classpath}"/>
47 </target>
48
49 </project>
|