Hi, May be quite a silly idea, but is it not possible, that somewhere down the road You define version as empty string? If it weren't defined at all, You would see ${version} in the filename, and You say it disappears. Maybe it's accidentaly defined as empty before propfile is read?
Cheers, Chris 2008/9/5 Vivek Payala <[EMAIL PROTECTED]> > Hello, > > > > 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="jprobe.pl ${module} memory > ${dist.dir}/${module}${version}-dist.zip"/> > > </exec> > > </target> > > > > In the above argument list, the file which needs to be passed on is > 'GEN-MNPAA${version}-dist.zip' 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}-dist.zip', it passes on the file as > 'GEN-MNPAA-dist.zip' to the script, and removes the '${version}' string. > > > > cannot stat `/home/maven/Bamboo/xml-data/build-dir/GEN-MNPAA/dist/* > GEN-MNPAA-dist.zip*': No such file or directory > > > > Can you please tell me how I pass the file 'GEN-MNPAA${version}-dist.zip' > 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! > > > > *Thanks,* > > * * > > *Vivek Payala **|** Team Lead – Configuration Management (Professional & > Managed Services Group) **|** Persistent Systems* > > [EMAIL PROTECTED] <[EMAIL PROTECTED]>* **| **Cell: > +91 93701 31472 **| **Tel: +91 (20) 3023 6447* > > *Innovation in software product design, development and delivery- ** > www.persistentsys.com* <http://www.persistentsys.com/> > > > > DISCLAIMER ========== 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. >