- reviewed MailClients and removed debugs
[MUMail.cvs.git] / build.xml
blobb97fea57e3137108e73940d78b375e3dfeb10221
1 <project name="MUMail" default="dist" basedir=".">
2 <!--  set global properties for this build  -->
3         <property name="src" value="."/>
4         <property name="build" value="build"/>
5         <property name="dist" value="dist"/>
6         <target name="init">
7 <!--  Create the time stamp  -->
8                 <tstamp/>
9 <!--  Create the build directory structure used by compile  -->
10                 <mkdir dir="${build}"/>
11         </target>
12         <target name="compile" depends="init">
13 <!--  Compile the java code from ${src} into ${build}  -->
14                 <javac srcdir="${src}" destdir="${build}"/>
15         </target>
16         <target name="dist" depends="compile">
17 <!--  Create the distribution directory  -->
18                 <mkdir dir="${dist}/lib"/>
19 <!--  Put everything in ${build} into the MUMail-${DSTAMP}.jar file  -->
20                 <jar jarfile="${dist}/lib/MUMail-${DSTAMP}.jar" basedir="${build}"/>
21         </target>
22         <target name="clean">
23 <!--  Delete the ${build} and ${dist} directory trees  -->
24                 <delete dir="${build}"/>
25                 <delete dir="${dist}"/>
26         </target>
27 </project>