view build.xml @ 0:1d2fe61a3a62 release_0_1

Tema 0.1 (imported from CVS).
author Mikhail Kryshen <mikhail@kryshen.net>
date Tue, 16 May 2006 18:04:09 +0400
parents
children 548a93c24e55
line wrap: on
line source

<?xml version="1.0"?>
<project name="tema" default="dist" basedir=".">

    <property name="src"      value="src"/>
    <property name="build"    value="build"/>
    <property name="dist"     value="dist"/>
    <property name="res"      value="res"/>
    <property name="jar_file" value="tema.jar"/>

    <target name="init">
	<tstamp/>
	<mkdir dir="${build}"/>
    </target>

    <target name="compile" depends="init">
        <javac srcdir="${src}" destdir="${build}"
               deprecation="on" optimize="on" debug="on"/>
    </target>

    <target name="dist" depends="compile">
	<jar jarfile="${dist}/${jar_file}" manifest="${src}/Manifest.mf">
	    <fileset dir="${build}" includes="**/*.class"/>
	</jar>
    </target>    

    <target name="clean">
	<delete>
	    <fileset dir="${build}" includes="**/*.class"/>
	</delete>
	<delete file="${dist}/${jar_file}"/>
    </target>
    
</project>