Hi there,
 
I am trying to read the command line arguments with which the build file is called in order to process it during the excecution of nant (Logging/Reporting reasons).
 
I try to do it using the following code:
 
 <property name="test" value="Release" unless="${property::exists('test')}" />
 <echo message="debug: ${test}"/>
 
If I call the build file like this "<my.build -D:test=Test>" I get the following error:
 
Property 'property::exists('h_test')' has not been set.
 
I want to assign the value 'Test' to the property 'test' so that I can get this value for further processing.
I am missing something regarding the syntax or am I completely off track regarding my goal with this construct?
 
Thank you in advance for any help!
 
Best regards,
Helga

Reply via email to