Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法获取文件内容并分配给 Phing 的属性?
相当于蚂蚁:
<project name="foobar" default="foo"> <target name="foo"> <loadfile property="foo.bar" srcFile="foobar/moo.txt"/> <echo>${foo.bar}</echo> </target> </project>
?
任务不loadfile符合你的要求吗?
loadfile