ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: if and depends in a target
Date Wed, 08 Aug 2001 13:33:13 GMT
On Wed, 8 Aug 2001, Kai Bartels <kaba@picturesafe.de> wrote:

> Is this considered a bug or a feature? :^)

Expected behavior.

> What will be the behaviour of the next Ant release?

The same.

This is to allow thing like

<target name="do-it-way-one" if="way-one">
  <do-it .../>
</target>

<target name="do-it-a-different-way" unless="way-one">
  <do-it .../>
</target>

<target name="do-it" depends="do-it-way-one,do-it-a-different-way" />

Stefan

Mime
View raw message