ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Re[2]: odd behavior on <target ... unless="someproperty">
Date Mon, 09 Sep 2002 18:50:01 GMT
Now that I use ant-contrib's <if>, that's how I'd do it:

<target name="input"
    <not><isset property="subproject"/></not>
      <input addproperty="subproject" ... />
    <not><isset property="subtarget"/></not>
      <input addproperty="subtarget" ... />

<target name="check.subproject.control"

Refer to the mailing lists for details on getting the <if> task. -DD

-----Original Message-----
From: Jacob Kjome [] 
Sent: Monday, September 09, 2002 1:34 PM
To: Ant Users List
Subject: Re[2]: odd behavior on <target ... unless="someproperty">

Hello Dominique,

Ok, then how can I wrap the <input ...> in a conditional to make it
prompt for input if, and only if, the property "subprojectskip" does
*not* exist?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message