view contrib/TWikiDrawPlugin/build.xml @ 344:3be1612afcba

unpacked twikidraw sources, simpler build.xml imported from: moin--main--1.5--patch-348
author Thomas Waldmann <tw@waldmann-edv.de>
date Tue, 27 Dec 2005 23:09:56 +0000
parents 77665d8e2254
children d963e742fdc7
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>