From 7f98d667f2e23f092f7f6c900af622ce748d8294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Wed, 19 Jul 2017 10:30:25 +0000 Subject: [PATCH] Make build checking test/html before proceeding --- build.xml | 11 ++++++++++- html/relnotes.html | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index d44fe1fa..6673c746 100644 --- a/build.xml +++ b/build.xml @@ -333,8 +333,17 @@ <move file="aserv.jar" tofile="lib/aserv.jar" /> </target> + <!-- tested (but ugly) --> + <target name="check-testdir"> + <available file="test/html" property="testdir-ok"/> + </target> + + <target name="preparetestdir" depends="check-testdir" description="" unless="testdir-ok"> + <mkdir dir="test/html" /> + </target> + <!-- tested --> - <target name="test" depends="bind" description="Unit test code"> + <target name="test" depends="bind,preparetestdir" description="Unit test code"> <condition property="testset" value="${group}" else="raw"> <isset property="group"/> </condition> diff --git a/html/relnotes.html b/html/relnotes.html index f63d318b..cffae02e 100644 --- a/html/relnotes.html +++ b/html/relnotes.html @@ -63,7 +63,7 @@ with a warning: <!--h2>Version 4.10 (2xxx): ??/??/201X - Pumpkin risotto</h2--> -<h2>Version 4.9 (2155): 19/07/2017 - Letraset</h2> +<h2>Version 4.9 (2158): 19/07/2017 - Letraset</h2> <p><ul compact="1"> <li><span style="color: red;">Suppressed</span> empty constructor in <tt>DBServiceImpl</tt> (serv)</li> -- GitLab