nes-proj/tools/coffee-manager/build.xml

36 lines
914 B
XML
Raw Normal View History

<?xml version="1.0"?>
<project name="Coffee Manager" default="jar" basedir=".">
<target name="init">
<tstamp/>
</target>
<target name="compile" depends="init">
<mkdir dir="build"/>
<javac srcdir="org/contikios/coffee" destdir="build" includeantruntime="false" debug="true" />
</target>
<target name="clean" depends="init">
<delete file="coffee.jar"/>
<delete dir="build"/>
</target>
<target name="configs" depends="init">
<mkdir dir="build"/>
<copy todir="build">
<fileset file="sky.properties"/>
<fileset file="esb.properties"/>
</copy>
</target>
<target name="jar" depends="init, compile, configs">
<jar destfile="coffee.jar" basedir="build">
<manifest>
<attribute name="Main-Class" value="org.contikios.coffee.CoffeeManager"/>
<attribute name="Class-Path" value="."/>
</manifest>
</jar>
</target>
</project>