ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: AW: dynamic targets
Date Wed, 25 Oct 2006 14:01:11 GMT
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


Mime
View raw message