假设这是build.xml中的代码:
<project name="test project">
<target name="first">
<echo>first</echo>
</target>
<target name="second" depends="first">
<echo>second</echo>
</target>
<target name="third" depends="first,second">
<echo>third</echo>
</target>
</project>
What do I need to do so that when I run:
ant third
我将会收到以下输出:
first,first,second,third
换句话说,我希望每个依赖项都能运行,无论它以前是否运行过。