Files
xen/tools/vdmanager/build.xml
T
ach61@labyrinth.cl.cam.ac.uk 61a664017f bitkeeper revision 1.160.3.1 (3ea53c71xG2JEZ0LCbFRAxt9kayWBw)
fix earlier merge problems
user space virtual disk manager
2003-04-22 12:58:25 +00:00

45 lines
1.2 KiB
XML
Executable File

<project name="vdmanager project" default="compile">
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="lib" location="lib"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}" debug="on"/>
</target>
<target name="dist" depends="compile">
<jar jarfile="vdmanager.jar"
excludes="*~"
basedir="${build}">
<fileset dir="${src}" />
<fileset dir=".">
<include name="build.xml"/>
<include name="vdmanager"/>
</fileset>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="uk.ac.cam.cl.xeno.vdmanager.Main"/>
<attribute name="Sealed" value="true"/>
</manifest>
</jar>
</target>
<target name="test" depends="compile">
<java fork="true" classname="uk.ac.cam.cl.xeno.vdmanager.Main">
<classpath>
<pathelement path="${build}"/>
</classpath>
</java>
</target>
<target name="clean">
<delete dir="${build}"/>
<delete dir="${lib}"/>
</target>
</project>