ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tuft Muller" <...@online.no>
Subject RE: fork=yes VS. BUILD SUCCESSFUL
Date Mon, 05 Nov 2001 17:36:38 GMT
I'm using the haltonfailure="yes" option in combination with fork="yes".
Works fine (Ant 1.3).

--

Thomas



| -----Original Message-----
| From: Michael Starkie [mailto:efficacy@my-deja.com]
| Sent: 05 November 2001 16:38
| To: ant-user@jakarta.apache.org
| Subject: fork=yes VS. BUILD SUCCESSFUL
|
|
| greetings,
|
| we have a dillema using Ant in our development environment.  The
| problem is with the junit optional task.
|
| the problem is that when we set fork=true Ant concludes with
| BUILD_SUCCESSFUL even though the unit tests fail. I assume this
| is because it's impossible for ant to get the return code of
| another process.
|
| BUT when we set fork=false the unit tests fail with linkeage
| errors due to the fact that both the JVM and ant load the same
| JAXP classes from the classpath.
|
| We must use fork=true to avoid the linkage errors so how can we
| detect that the tests really failed automatically despite the
| fact that Ant returns BUILD_SUCCESSFUL.
|
| thanks
|
|
|
| ------------------------------------------------------------
| --== Sent via Deja.com ==--
| http://www.deja.com/
|
| --
| To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|
|



*************************************************************************
Copyright ERA Technology Ltd. 2001. (www.era.co.uk). All rights reserved. 
Confidential. No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message