Attached is a build.xml for frost.
I have also created a "Java" frost freesite board.
--
Christopher William Turner, http://www.cycom.co.uk/ Java development
since 1996
http://club.cycom.co.uk/tms.htm Terminology Management software
http://club.cycom.co.uk/wt.htm Wind Turbine blade design software
<project name="frost" default="dist" basedir=".">
<description>
frost. You will need to extract "data" directory from the original
frost.jar
before this will build. new output goes to "dist".
</description>
<!-- set global properties for this build -->
<property name="src" location="source"/>
<property name="build" location="classes"/>
<property name="dist" location="dist"/>
<property name="projectName" value="frost"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init"
description="compile the source " >
<!-- selective Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" target="1.1" deprecation="on"
includes="frost.java"/>
<javac srcdir="${src}" destdir="${build}" target="1.1" deprecation="on"
includes="res/*.java"/>
</target>
<target name="data" depends="init">
<copy todir="${build}" >
<fileset dir="." casesensitive="yes">
<include name="data/**"/>
</fileset>
</copy>
</target>
<target name="runnable" depends="compile,data"/>
<target name="dist" depends="runnable"
description="generate the distribution" >
<!-- Create the distribution directory -->
<mkdir dir="${dist}"/>
<!-- Put everything in ${build} into the ${projectName}.jar file -->
<jar jarfile="${dist}/${projectName}.jar" basedir="${build}">
<manifest file="MANIFEST.MF">
<attribute name="Manifest-Version" value="1.0"/>
<attribute name="Main-Class" value="frost"/>
</manifest>
</jar>
<copy todir="${dist}" >
<fileset dir="." casesensitive="yes">
<include name="frost.sh"/>
<include name="frost.bat"/>
</fileset>
</copy>
</target>
<target name="clean"
description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>