ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson \(KI/EAB\)" <mikael.petter...@ericsson.com>
Subject How to set properties when property is set
Date Tue, 23 May 2006 10:23:27 GMT
Hi,

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"
value="/vobs/rbs/sw/rbssw_boam/boam_subsys/boam_swb/boammao_swu/src/ifac
e/gen"/>
 <available file="${gen.dir}" property="gen.dir.present"/>
 <echo message="New refactored structure for iface present:
${gen.dir.present}"/>

Cheers,

//mikael



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message