You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2002/08/09 20:47:50 UTC

RE: Are Properties in sub-projects available to the master projec t?

Nope. Like unix processes, properties are not propagated back to the parent
build. You can achieve it using <propertyfile> though... Write a file by the
sub-build, that you read back in the parent, but it's kind of a hack. --DD

-----Original Message-----
From: Claude Vedovini [mailto:CVedovini@odyssey-group.com] 
Sent: Friday, August 09, 2002 12:19 PM
To: Ant Users (E-mail)
Subject: Are Properties in sub-projects available to the master project?

Hi all,

I have a master build file that call other ant build files that run junit
tasks with the failureProperty="test.failed" attribute set, however when
tests are failing the master should fail calling the <fail/> task but this
does not append and I suspect the test.failed property is only available in
sub-builds, am I wrong?

Thx
Claude
__________________________________________________________________________
* This email and any files transmitted with it are CONFIDENTIAL and intended
   solely for the use of the individual or entity to which they are
addressed.
* Any unauthorized copying, disclosure, or distribution of the material
within
   this email is strictly forbidden.
* Any views or opinions presented within this e-mail are solely those of the
   author and do not necessarily represent those of Odyssey Asset Management
   Systems SA unless otherwise specifically stated.
* An electronic message is not binding on its sender.  Any message referring
to
   a binding engagement must be confirmed in writing and duly signed.
* If you have received this email in error, please notify the sender
immediately
   and delete the original.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>