view contrib/TWikiDrawPlugin/build.xml @ 5083:d963e742fdc7

TwikiDraw applet added textcha feature
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 05 Sep 2009 11:58:32 +0200
parents 3be1612afcba
children b18473705235
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" executable="/usr/bin/javac -Xlint:deprecation">
            <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>