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

Implemented and tested the Test target

Added the Tidy.jar file to classpath
parent e4bc3e9c
<!-- $Id: build.xml,v 1.16 2002-06-25 10:37:38 jerome Exp $ -->
<!-- $Id: build.xml,v 1.17 2002-07-02 08:41:00 jerome Exp $ -->
<project name="transmo" default="compile" basedir="..">
......@@ -51,6 +51,7 @@
<pathelement location="lib/gnu-regexp.jar"/>
<pathelement location="lib/sax2.jar"/>
<!--pathelement location="lib/bsf.jar"/--> <!-- ? -->
<pathelement location="lib/Tidy.jar"/>
<pathelement location="lib/junit.jar"/>
<pathelement location="classes"/>
</classpath>
......@@ -78,9 +79,13 @@
<!-- tested -->
<target name="test" depends="jar">
<!-- The dependency on jar seems to be useless, because it does take
the old classes? -->
<echo message="Testing..."/>
<junit>
<test name="fr.fluxmedia.transmorpher.Utils.UtilTest" />
<junit haltonfailure="yes">
<test name="fr.fluxmedia.transmorpher.Utils.AllTest">
<formatter usefile="false" type="brief"/>
</test>
</junit>
</target>
......@@ -141,10 +146,10 @@
<fileset dir="scripts" includes="**/build.xml"/>
</copy>
<copy todir="transmo-${version}/src">
<fileset dir="src" includes="**/*.java" excludes="**/?*Test*"/>
<fileset dir="src" includes="**/*.java"/>
</copy>
<copy todir="transmo-${version}/classes">
<fileset dir="classes" includes="**/*.class" excludes="**/?*Test*"/>
<fileset dir="classes" includes="**/*.class"/>
</copy>
<copy todir="transmo-${version}/api">
<fileset dir="api" includes="**/*.html"/>
......
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