ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Sadangi <msada...@manh.com>
Subject RE: How to use properties iteration?
Date Wed, 28 May 2003 12:16:12 GMT
load the properties file 
and you can access the properties and construct the path like
${jar.telnet.location}/${jar.1.name }/......
 
 

thanks, 
manoj 
 

 -----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: 
                jar.1.name = telnet 
                jar.telnet.location=/home/my 
                jar.telnet.version = 1.0 
                jar.1.name = ssh 
                jar.ssh.location=/home/his 
                jar.ssh.version = 1.2 

        Now I need to make a path like:- 

                /home/my/telnet-1.0.jar:/home/his/ssh-1.2.jar 

Can someone help me on this? 

Regards, 

Nitin Verma 


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