On Thu, 29 Nov 2001, Johan Adel�w <[EMAIL PROTECTED]>
wrote:
> This is all fine, but if someone then wants to debug compile we use
> a property debug withe the -D option on the command line call. When
> I use the inheritAll="false" alternative this property wont either
> be inherited ofcourse.
<property name="debug" value="whatever-is-your-default-value" />
...
<ant inheritall="false" ...>
<property name="debug" value="${debug}" />
</ant>
The -Ddebug=xyz will override the value defined with the property task
in the build file and the nested property element will pass this value
further down.
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>