ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vojta Filip <vo...@systinet.com>
Subject RE: fork=yes VS. BUILD SUCCESSFUL
Date Tue, 06 Nov 2001 07:49:13 GMT

It may do not work on some Linuxes (RH 7.?) where is a bug in glibc and
Java do not return propper exit code.

 Vojta


On Mon, 5 Nov 2001, Thomas Tuft Muller wrote:

> 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>
>

-- 
Vojtech Filip
Systinet  (formerly Idoox)
http://www.systinet.com


--
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