1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-21 23:18:49 -05:00
davmail/build.xml
mguessan bf37056509 Ant and maven build files
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@6 3d1905a2-6b24-0410-a738-b14d5a86fcbd
2006-12-13 00:05:24 +00:00

51 lines
1.3 KiB
XML

<project name="DavMail" default="dist" basedir=".">
<path id="classpath">
<pathelement location="classes"/>
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="clean">
<delete dir="target"/>
<delete dir="dist"/>
</target>
<target name="init">
<mkdir dir="target/classes"/>
</target>
<target name="compile" depends="init">
<mkdir dir="target/classes"/>
<javac srcdir="src/java" destdir="target/classes" target="1.5">
<classpath>
<path refid="classpath"/>
</classpath>
</javac>
<copy todir="target/classes">
<fileset dir="src/java">
<include name="**/*"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="dist" depends="compile">
<delete dir="dist"/>
<mkdir dir="dist"/>
<jar basedir="target/classes" destfile="dist/davmail.jar"/>
<copy todir="dist/lib">
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</copy>
<copy todir="dist">
<fileset dir="src/jsmooth">
<include name="*.exe"/>
</fileset>
</copy>
</target>
</project>