Stefan,

> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
>
> The solution I currently prefer is to specify "this property should
> not be passed to subbuilds" in the master process.
>

Perhaps we should look at it the other way around. We almost have a
mechanism in place for saying which properties we want to pass to a
subbuild (namely nested <property> elements). Perhaps only those
properties should be passed to the subbuild. The only change would be to
not require a property value. Something like

  <ant antfile="subproject/property_based_subbuild.xml">
    <property name="param1"/>
  </ant>

Marking a property as "not to be passed" may be putting the restriction
in the wrong place. What if I want to call two subbuilds and pass some
properties to one and not the other. In other words the restriction
should be at the call not the property definition (if I understood you
correctly).

An <allprops> nested element (or attribute) could provide the current
behaviour.

As usual I prefer things to be explicit.

Conor

Reply via email to