On 10/25/06, Mathew Delong <Mathew.Delong@embarcadero.com> wrote:
> Like others said, failonerror="false" (someone mistyped this and
> said "true" but meant false)
Thanks for the correction.
> One very easy solution I see is in every "individual" build file include a line like:
> <import file="${this.property.might.not.resolve}" optional="true"/>
>
> This fulfills your requirement that if you run the build independently,
> it won't know about the "skeleton" targets and also the build doesn't
> need to know anything about a "master" build, because the property
> which decides which file is imported isn't resolved unless it is passed
> in from another build. Just use subant to pass the desired property to
> all the build files it is executing on.
Very clever. Thanks Mat. This still requires to know before hand
all the possible targets, yet it's a good compromise, short of
implementing the selector I was talking about. --DD
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|