ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: How to set properties when property is set
Date Tue, 23 May 2006 10:53:27 GMT
<condition property="propfile" value="" else="">
    <available file="${gen.dir}"/>
<property file="${propfile}"/>


>-----Urspr√ľngliche Nachricht-----
>Von: Mikael Petterson (KI/EAB) [] 
>Gesendet: Dienstag, 23. Mai 2006 12:23
>An: Ant Users List
>Betreff: How to set properties when property is set
>I have a property that checks if a certain directory exists. 
>If that property, gen.dir.present,  is true then I need to set 
>a bunch of properties. If false I set them to other values. Is 
>there a Smooth way to do this.
> <property name="gen.dir"
> <available file="${gen.dir}" property="gen.dir.present"/>  
><echo message="New refactored structure for iface present:

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

View raw message