ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <>
Subject Re: Conditionally passing property to <ant>
Date Tue, 29 Apr 2003 18:34:56 GMT
On Tue, 2003-04-29 at 11:10, peter reilly wrote:
> This solution is not scalable for multiple
> properties.

It wasn't designed to. The original use case mentioned 1 property.

> The correct solution is to allow if and unless in
> the property task (or more general in all tasks).

That's not a solution at all, it's an often debated topic that doesn't
seem close to being accepted into ant.

In this case where there is a lot of conditional logic required I would
suggest the <if> task from ant-contrib or refactor the build files
so that 'inheritAll' can be true.

Jesse Stockall <>

View raw message