ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Verma, Nitin (GECP, OTHER, 529706)" <NITIN.VE...@APPL.GE.COM>
Subject RE: How to use properties iteration?
Date Wed, 28 May 2003 12:36:42 GMT
I can have n number of jars, so:-
I need to have something like this:
<!--I don't know how to make while loop using ant -->
<while condition="true">
    <property name="" value="java.${i}.name"/>
<!--I don't know how to do this using ant -->
    <if condition="${} == null">
<!-- ----------------------------------------------------- -->
    <property name="jar.version" value="jar.${}.version"/>
    <property name="jar.location" value="jar.${}.location"/>
    <property name="jar.path"
    <property name="classpath" append="jar.path"/> <!-- I need to append to
a property, I don't know how to do this?-->
<!-- who to do "i++"? -->
<!-- ----------------------------------------------------- -->
Help please!
Nitin Verma
 -----Original Message-----
From: Manoj Sadangi []
Sent: Wednesday, May 28, 2003 5:46 PM
To: 'Ant Users List'
Subject: RE: How to use properties iteration?

load the properties file 
and you can access the properties and construct the path like
${jar.telnet.location}/${ }/......


 -----Original Message-----
From: Verma, Nitin (GECP, OTHER, 529706) [mailto:NITIN.VERMA@APPL.GE.COM]
Sent: Wednesday, May 28, 2003 7:57 AM
To: Ant Users List
Subject: How to use properties iteration?

Hi All, 

        I have properties like: 
       = telnet 
                jar.telnet.version = 1.0 
       = ssh 
                jar.ssh.version = 1.2 

        Now I need to make a path like:- 


Can someone help me on this? 


Nitin Verma 

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