ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: [PATCH] New <case> task
Date Wed, 11 Oct 2000 07:48:35 GMT
>>>>> "DH" == Diane Holt <holtdl@yahoo.com> writes:

 DH> I have a property that contains a value of either "true" or
 DH> "false" -- note: it's not something I can have simply either set
 DH> or not-set, because the literal value of it is used as the
 DH> replacement string for a filter token.

Maybe do it the other way around? <filter> has become dynamic now as
well 8^).

<target name="debug.filter" if="debug">
  <filter token="debug" value="true" />
</target>

<target name="non.debug.filter" unless="debug">
  <filter token="debug" value="false" />
</target>

<target name="main" depends="debug.filter,non.debug.filter" ...

Stefan

Mime
View raw message