I have a nant script that generates messages. I want to pass in the message place holders for the properties from the command-line along with the properties values. For instance:
nant -buildfile:test.build -D:message="mything's value=${mything}" -D:mything=12345 given the following project: <project name="test.build" xmlns="http://nant.sf.net/schemas/nant.xsd"> <target name="test" > <property name="mything" value="" /> <property name="_message" value="${message}" dynamic="false" /> <echo message="${_message}" /> </target> </project> should produce the resulting string "mything's value=12345" from my echo statement. Instead I am getting "mything's value=${mything}". Is there a way to force the property in the string to be expanded? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users