Ant Build.xml を Phing に変換して、Phing を学習しようとしています。Phing User doc で検索機能が見つからないようです....
これは私が持っているものです:
<condition property="script-suffix" value=".bat" else="">
<os family="windows" />
</condition>
<echo message="Script-suffix is ${script-suffix}" />
修正する必要がある 2 つの問題がありますが、方法がわかりません。
この状態を Phing 許容に変換する方法がわかりません。
else=""
属性が原因でエラーが発生しています。script-suffix
を使用してプロパティにアクセスできません${script-suffix}
、、タグを試してみましたが${project.script-suffix}
、見事に失敗しました T__T.${phing.script-suffix}
$, and other obvious combination. And attempted to change the condition using the
<if>
, <else>
よろしくお願いします^__^。