ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Payala" <>
Subject multiple ${values} not extracting the actual value
Date Fri, 05 Sep 2008 16:05:04 GMT


I have a build file in which my target is supposed to call a perl file and pass 3 arguments
to it. Here is the target,


        <target name="bamboo-jprobe-memory">

               <exec dir="/home/maven/jprobe-701/script" executable="/usr/bin/perl">

                       <arg line=" ${module} memory ${dist.dir}/${module}${version}"/>




In the above argument list, the file which needs to be passed on is ‘GEN-MNPAA${version}’
listed below in the figure,



I have a continuous build environment where this build is setup. The first problem is that
the ${version} number which is defined in a property file is not getting fetched properly.
Even though it creates a file like ‘GEN-MNPAA${version}’, it passes on the file
as ‘’ to the script, and removes the ‘${version}’ string.


cannot stat `/home/​maven/​Bamboo/​xml-data/​build-dir/​GEN-MNPAA/​dist/​':
No such file or directory


Can you please tell me how I pass the file ‘GEN-MNPAA${version}’ as it is without
any name change. I tried placing an extra ‘$’ before ‘${version}’ string, but even
that didn’t work. I will work upon why the ${version} is not actually getting fetched from
the properties file later. Because if I run it normally the everything behaves normally. Its
only in the continuous build environment that the ${version} doesn’t resolve.


Thanks in advance!




Vivek Payala | Team Lead – Configuration Management (Professional & Managed Services
Group) | Persistent Systems

 <>  | Cell: +91
93701 31472 | Tel: +91 (20) 3023 6447

Innovation in software product design, development and delivery-  <>


This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

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