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

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -