1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-11-14 13:25:11 -05:00
davmail/jsmooth-0.9.9-7-patch/sample/build.xml
mguessan 448c2f5f7a Jsmooth patch with 64 bits skeletons
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1697 3d1905a2-6b24-0410-a738-b14d5a86fcbd
2011-06-07 08:46:33 +00:00

45 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="dist" name="jsmooth-sample">
<!-- set global properties for this build -->
<property name="src" value="src"/>
<property name="classes" value="classes"/>
<path id="build.class.path">
<pathelement path="../skeletons/jnismooth/jnismooth.jar"/>
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${classes}"/>
</target>
<target depends="init" name="compile">
<!-- Compile the java code from ${src} into ${classes} -->
<javac deprecation="yes" destdir="${classes}" srcdir="${src}" source="1.4" target="1.4">
<classpath refid="build.class.path"/>
</javac>
</target>
<target depends="compile" name="dist">
<!-- Compile the java code from ${src} into ${classes} -->
<jar basedir="classes" jarfile="sample.jar" manifest="src\MANIFEST.txt"/>
</target>
<target name="run" depends="dist">
<java classname="JSmoothPropertiesDisplayer" fork="yes" >
<classpath refid="build.class.path"/>
<classpath>
<pathelement path="sample.jar"/>
</classpath>
</java>
</target>
<target name="clean">
<delete dir="${classes}"/>
<delete file="sample.jar"/>
</target>
</project>