Hi,
My build does not fail upon error:
C:\dev\xwiki\trunk>ant test
[...]
test.client:
[junit] Running com.xpn.xwiki.atom.WSSEHeaderTest
[junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 0,38 sec
[junit] Test com.xpn.xwiki.atom.WSSEHeaderTest FAILED
[junit] Running com.xpn.xwiki.atom.XWikiHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,072 sec
[junit] Test com.xpn.xwiki.atom.XWikiHelperTest FAILED
[junit] Running com.xpn.xwiki.test.ClassesTest
[...]
release:
[war] Building war: C:\dev\xwiki\trunk\release\xwiki-0.9.11.war
[copy] Copying 1 file to C:\dev\xwiki\trunk\build\web\WEB-INF
[copy] Copying 1 file to C:\dev\xwiki\trunk\build\web\WEB-INF
[war] Building war: C:\dev\xwiki\trunk\release\xwiki-exo-0.9.11.war
[copy] Copying 1 file to C:\dev\xwiki\trunk\build\web\WEB-INF
test.server.prepare:
[cactifywar] Analyzing war: C:\dev\xwiki\trunk\release\xwiki-0.9.11.war
[cactifywar] Building war: C:\dev\xwiki\trunk\release\xwiki.war
test.server:
[delete] Deleting: C:\dev\xwiki\trunk\release\xwiki.war
test:
BUILD SUCCESSFUL
Total time: 3 minutes 28 seconds
C:\dev\xwiki\trunk>
The build should definitely fail in case of test errors.
Thanks
-Vincent
_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail :
http://fr.mail.yahoo.com