ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50485] The <available> task should have else attribute
Date Thu, 16 Dec 2010 14:12:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50485

--- Comment #1 from Jan Mat <jan@materne.de> 2010-12-16 09:12:39 EST ---
The easiest thing is

<available property="p" value="true".../>
<property property="p" value="false"/>

Because of Ant's immutable properties the 2nd instruction is only executed if
the resource is not available (and therefore the property unset).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message