Commit bce61388 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

Added compileall

Revised the use of running attribute
Included scripts/build.xml in archive
parent 0bd76477
<!-- $Id: build.xml,v 1.14 2002-06-06 09:31:22 jerome Exp $ -->
<!-- $Id: build.xml,v 1.15 2002-06-06 09:49:23 jerome Exp $ -->
<project name="transmo" default="compile" basedir="..">
......@@ -8,7 +8,8 @@
<echo/>
<echo message="usage: this message"/>
<echo message="init: sets necessary variables"/>
<echo message="compile: compiles all sources"/>
<echo message="compile: incrementaly compiles sources"/>
<echo message="compileall: recompiles all sources"/>
<echo message="jar: archives compiled code"/>
<echo message="test: performs unit tests"/>
<echo message="javadoc: generates documentation"/>
......@@ -30,13 +31,13 @@
<target name="init">
<tstamp><format locale="fr,fr" pattern="dd/MM/yyyy" property="TODAY"/></tstamp>
<property name="doing" value="running"/>
<property name="version" value="0-9-7"/>
<property name="version" value="0-9-8${doing}"/>
<property name="date" value="${TODAY}"/>
<property name="login" value="jerome"/>
<property name="email" value="Jerome.Euzenat@inrialpes.fr"/>
<property name="libdir" value="lib" />
<filter token="DATE" value="${date}"/>
<filter token="VERS" value="${version}${doing}"/>
<filter token="VERS" value="${version}"/>
<echo message="Transmorpher build for version ${version} of ${TODAY}"/>
</target>
......@@ -56,6 +57,14 @@
</javac>
</target>
<target name="compileall" depends="init">
<echo message="Erasing..."/>
<delete>
<fileset dir="classes" includes="**/*.class"/>
</delete>
<antcall target="compile"/>
</target>
<!-- tested -->
<target name="jar" depends="compile">
<echo message="Jarchiving..."/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment