1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-22 07:28:49 -05:00
davmail/archive/jsmooth-0.9.9-7-patch/sample/build.xml
mguessan f69382ccc7 Archive jsmooth wrappers
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2100 3d1905a2-6b24-0410-a738-b14d5a86fcbd
2013-05-10 17:13:05 +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>