Hi,

it took me quite a while to find out why sometimes my JUnit tests fail
with strange loader violation errors.

After reading various articles in the ant and junit mailing lists, this
fixes all my problems forever:

--- jakarta-turbine-fulcrum/project.properties  Fri May 31 20:20:22 2002
+++ ../fulcrum/project.properties       Fri Jun 21 11:54:46 2002
@@ -4,6 +4,10 @@
 maven.delegatorBuildFile = build.xml
 maven.prepareSourceDirectory = target/src
 maven.prepareSourceTarget = om
+#
+# Without this, tests may fail with "loader constraints violated"
+#
+maven.junit.fork = true


Is there any objection to make this the default by putting it into the
fulcrum CVS?

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to