01 <project name="utils" 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 <property name="utils.source" value="."/>
08 <property name="utils.build" value="${build.tmp}"/>
09
10 <target name="all" depends="clean, banner, compile, jar"/>
11
12 <target name="banner">
13 <!-- Create the time stamp -->
14 <tstamp/>
15 <echo message="#### S T A R T U T I L I T Y C O M P O N E N T S ####"/>
16 <mkdir dir="${build.tmp}"/>
17 </target>
18
19 <!-- Compile base value object -->
20 <target name="compile">
21 <javac srcdir="${utils.source}" destdir="${utils.build}"
22 includes="**/*.java"
23 classpath="${log.classpath};${wls.home}/server/lib/wllog4j.jar"
24 deprecation="${deprecation}"
25 debug="${debug}" debugLevel="${debugLevel}"
26 />
27 </target>
28
29 <!-- Make a standard jar file -->
30 <target name="jar">
31 <jar jarfile="${utils.classpath}"
32 basedir="${utils.build}"
33 update="yes">
34 </jar>
35 <ant target="clean.build"/>
36 </target>
37
38 <target name="clean.build">
39 <delete dir="${utils.build}"/>
40 </target>
41
42 <target name="clean" depends="clean.build">
43 <delete dir="${utils.classpath}"/>
44 </target>
45
46 </project>
|