Trying to learn Phing, by converting Ant Build.xml to Phing. Can't seem to find a search function on Phing User doc....
This is what I have:
<condition property="script-suffix" value=".bat" else="">
<os family="windows" />
</condition>
<echo message="Script-suffix is ${script-suffix}" />
There are two problems that I need to fix but I don't know how:
I don't know how to convert this condition into Phing acceptable. The
else=""
attribute is causing an error.I cannot access the
script-suffix
property using${script-suffix}
I've tried ${project.script-suffix}
, ${phing.script-suffix}
, $, and other obvious combination. And attempted to change the condition using the
tag and failed spectacularly T__T.<if>
, <else>
Thank you in advance ^__^.