2 messages in org.apache.ant.devLaunching unit test of antunit
FromSent OnAttachments
Gilles ScokartNov 15, 2008 6:52 am 
Stefan BodewigNov 17, 2008 1:24 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Launching unit test of antunitActions
From:Gilles Scokart (gsco@gmail.com)
Date:Nov 15, 2008 6:52:53 am
List:org.apache.ant.dev

I had some difficulties to launch the unit test in antunit. There is a ClassLoader mess that I didn't managed to solved. The problem is that the antunit antlib can not be found. When I add the freshly build antunit.jar into ANT_HOME/lib, the task can be created, by some tests are still failing because of other classnotfound. I also tried to remove ant-testutils.jar from ANT_HOME/LIB, hoping that if BuildFileTest is loaded from the lower level ClassLoader, the antlib could be loaded, but that still doesn't work.

The only workaround.I found is :

ant -lib build/classes\;build/test-classes test

(I'm on cygwin)

Am I the only one to have this problem?