Php Phing未加载.properties文件

Php Phing未加载.properties文件,php,ant,properties,phing,Php,Ant,Properties,Phing,我有以下build.xml和build.properties文件: build.xml <?xml version="1.0" encoding="UTF-8"?> <project name="CoolProducts" basedir="../" default="dev" description="CoolProducts front-end"> <!-- set default config --> <property

我有以下build.xml和build.properties文件:

build.xml

<?xml version="1.0" encoding="UTF-8"?>
<project name="CoolProducts" basedir="../"
         default="dev" description="CoolProducts front-end">
  <!-- set default config -->
  <property file="build/config/build.properties" />
  <target name="dev">
    <echo message="{$dir.css}" />
    <echo message="{$dir.build}" />
    <echo message="{$dir.source}" />
  </target>
</project>
我希望我的产出是:

css
build
.
但事实是:

{$dir.css} 
{$dir.build}
{$dir.source}

我是否有配置不正确的东西?

必须使用
${property}
,而不是
{$property}
来显示属性。

我意识到我这样做是因为我习惯了smarty模板语言的语法:@Andrew re:downvote-哈哈,别难过:)+1。
{$dir.css} 
{$dir.build}
{$dir.source}