Is there a way to stop a task from logging? I have the following macrodef
that uses the groovy ant task. Groovy spits out the message "[groovy]
statements executed successfully" and provides no way to turn it off. Is
there a way I can override its ability to log?

Thanks,
Brian


<macrodef name="continue">
<attribute name="property"/>
<attribute name="message" default="Do you want to continue? "/>
<attribute name="options" default="y,n"/>
<attribute name="abortonoption" default="n"/>
<sequential>
<input message="@{message}" validargs="@{options}"
addproperty="@{property}"/>
<groovy>
if ('@{abortonoption}'.equals(properties.get('@{property}'))) {
ant.fail(message:'Build aborted by user...');
}
</groovy>
</sequential>
</macrodef>

Reply via email to