ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: Conditionally passing property to <ant>
Date Wed, 30 Apr 2003 07:54:15 GMT
Yyy Xxx wrote:
> How about conditionally naming your variable.  Instead of
> 
>         <ant ...>
>             <param name="mydir" value="${mydir}"/>
>         </ant>
> 
> do this:
> 
>         <ant ...>
>             <condition name="propname" value="mydir">
>                <isset property="mydir"/>
>             </condition>
>             <param name="${propname}" value="${mydir}"/>
>         </ant>

Where is this supposed to work? <ant> doesn't support a nested 
<condition> AFAIK.

-- 
Christopher Lenz
/=/ cmlenz at gmx.de


Mime
View raw message