Could anyone tell me how to pass property value as argument of function? In this example, i have property Version which should be third argument of function set_value_to_file but function gets ${Version} string instead of property value.
property name=Version value =5.321.5 /echo
Use Version on its own
instead of '${Version}' and it should work - it is already enclosed in
braces, so it is already being treated as a variable.
Jonathan Evans
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vrata
CermakSent: Tuesday, November 14, 2006 2:36 PMTo:
Basically, everything inside a ${ ... } block is evaluated,
so there's no need for the second nested block. Try:
echo message=version saved ${functions::set_value_to_file('C:\Autotests\V5.2.1\Results\Logs\NAnt.status.xml',
'version', Version)} /
Cheers,
Bill
From Vrata Cermak [EMAIL
Using Version without anything really helped, thanks a lot !!!
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download
Alexey 0 Moudrick wrote:
Hello, nant-developers,
I've redirected this to nant-users, which is more appropriate.
target name=tests
echo message=Running nunit2 task /
!-- //TODO: find a way to run all tests with global fail --
nunit2 haltonfailure=${ nunit2.haltonfailure}
Hi everyone,
We are using NAnt scripts to do our daily builds. right now we are giving build numbers manually through command line in increments of 1 for every successive build. How to automate the Build numbering process. everytime buildscript should automatically increment the previous build
I was trying to compile the VBP using Nant. and I was able to compile it using the VB6 task. Now, I want to force the compilation process. How can I do that. I was thinking its the same as the .net applications. But its not. When I tried to delete the dll or exe and trying to compile using the