view contrib/TWikiDrawPlugin/build.xml @ 5155:b18473705235

twikidraw java code reverted to 5081:3e1d3367aeaa because of anywikidraw does miss the TextCha feature and it needs more work, actions twikidraw and anywikidraw adapted.
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 19 Sep 2009 21:33:48 +0200
parents d963e742fdc7
children
line wrap: on
line source
<?xml version="1.0" encoding="ISO-8859-1"?>

<project name="TWikiDrawPlugin" default="build" basedir=".">
    <property name="src.home" value="."/>
    <property name="build.home" value="build"/>
    <property name="dest.home" value="build"/>

    <target name="-init">
        <mkdir dir="${build.home}"/>
        <mkdir dir="${build.home}/classes"/>
        <mkdir dir="${dest.home}"/>
    </target>

    <target name="build" depends="-init" description="Build TWikiDrawPlugin JAR">
        <javac destdir="${build.home}/classes" source="1.3" target="1.1">
            <src path="${src.home}/packages"/>
            <src path="${src.home}/src"/>
        </javac>

        <jar destfile="${dest.home}/twikidraw.jar">
            <fileset dir="${build.home}/classes"/>
        </jar>
    </target>

    <target name="clean" description="Remove generated files">
        <delete dir="${build.home}"/>
    </target>

	<target name="rebuild" depends="clean, build" description="Rebuild TWikiDrawPlugin JAR"/>
</project>