ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Environment variables for exec
Date Mon, 26 Jun 2000 10:51:29 GMT
>>>>> "JC" == Julien Couvreur <> writes:

 JC> But it didn't work 

No, that's the way properties work, they are set on a global level and
the last <property> tag of the XML file wins.

 JC> From a general point of view it would be nice to be able to
 JC> constuct a BuildException by nesting the Exception that actually
 JC> occured.

Actually the infrastructure for this is already there but Exec didn't
use it - I've just modified it. Use BuildException.getException to see
what has happened to your Exec task.


View raw message