Is there a way to get a file content and assign to property for Phing?
An equivalent to ant:
<project name="foobar" default="foo">
<target name="foo">
<loadfile property="foo.bar" srcFile="foobar/moo.txt"/>
<echo>${foo.bar}</echo>
</target>
</project>
?
Doesn't the loadfile
task do what you're after?