|
From: Dj <dj...@ru...> - 2000-10-23 17:03:27
|
After grabbing jython, I threw a quick ant build.xml file together...
then I thought I'd better ask if there was actually a mandated build
procedure for
jython. I quite like the look of Ant as it keeps the portability up.
Dj
---- The build.xml as hacked up ------------
<project name="jython" default="compile" basedir=".">
<target name="init">
<property name="sourceDir" value="org" />
<property name="outputDir" value="classes" />
</target>
<target name="clean" depends="init">
<deltree dir="${outputDir}" />
</target>
<target name="prepare" depends="clean">
<mkdir dir="${outputDir}" />
</target>
<target name="compile" depends="prepare">
<javac srcdir="${sourceDir}" destdir="${outputDir}" />
</target>
<target name="jar" depends="compile">
<jar basedir="classes" jarfile="jython.jar" />
</target>
</project>
|