2011-04-19 76 views

回答

0
<target name="real-build"> 
    <exec dir="${basedir}" executable="${ant.command}" failonerror="true"> 
    <arg line="-f build-all.xml target ${ant.logger}" /> 
    </exec> 
</target> 
+0

這不是內搭.xml,而是用新的ant實例打開一個新的java進程,而不是s類似於使用命令行選項-logger .. btw。假設$ {ant.logger}是-logger ...它應該是arg line = $ {ant.logger} -f ... => ant [options] [target [target2 [target3] ...]],請參閱http://ant.apache.org/manual/running.html#options。 – Rebse 2013-01-25 21:13:57

相關問題