apache - Echo output from a custom task -
i have black-box ant task creates output consume in task. need write output of create-uuids
file. neither of ideas working, because redirector , echo tasks not accept adhoc tasks input.
here code:
<redirector output="atest.txt"> <createuuids numberofuuidstoprint="1"/> </redirector>
also tried
<echo file="atest.txt"> <createuuids numberofuuidstoprint="1"/> </echo>
i solved using recorder:
<record name="atest.txt" action="start" emacsmode="true"/> <createuuids numberofuuidstoprint="1"/> <record name="atest.txt" action="stop"/>
Comments
Post a Comment