wsdeploy ant error should fail
843834Oct 7 2003 — edited Oct 15 2003When using the ant wsdeploy task, it just prints errors without failing. I tried to see if the task set any properties, but i could not find any. There seems to be no method to set the task to fail either.
Here is how I used the task:
<echo message="Processing created warfile using 'wsdeploy'"/>
<wsdeploy
keep="false"
inWarFile="${build.dir}/${ant.project.name}-raw.war"
outWarFile="${build.dir}/${ant.project.name}.war"
verbose="true">
<classpath refid="compile.classpath"/>
</wsdeploy>
It is not good if I make other tasks depend on this one without being able to see if an error occurred. Is there a way to parse the output from ant to check for the text 'error'?
/Klas