From b5cac9c68a7a8ab7b861c20e03292757b89192da Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 3 Feb 2014 18:25:40 +0100 Subject: [PATCH] SMACK-286 fix unit test for newer ant versions Some unit tests depend on SmackConfiguration being loaded, so that the initializer was run and the providers where configured. We create this condition now by setting "reloading=false" to the junit task and hope that there was a unit test before us that loaded SmackConfiguration. But we keep in mind that this is only a ugly workaround, as unit test should work on their own and have no inter-dependencies, --- build/build.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/build.xml b/build/build.xml index bf190da6d..5834a5dad 100644 --- a/build/build.xml +++ b/build/build.xml @@ -467,7 +467,8 @@ fork="false" haltonfailure="false" failureproperty="tests.failed" - showoutput="true"> + showoutput="true" + reloading="false" >