Simple way...is a Build Exception thrown? I would assume that if a task (custom or not) is unable to perform the "task" it is designed to do then it is the task's responsibility to communicate that back to the callee...outside of a onerror property (on such) the throwing of a well-informed BuildException is a totally valid way of informing the callee that we were unable to perform the task requested. Getting of my soapbox now...I can also assume that the reason you are asking is that you are not satified with your results nor did you get a BuildException. You may want to setting verbose=true in the <wldeploy> task to get more information. Sorry not to familiar with <wldeploy>, Ninju
----- Original Message ---- From: [EMAIL PROTECTED] To: user@ant.apache.org Sent: Wednesday, February 15, 2006 10:01:08 AM Subject: custom ant task .....successful or not How to check if custom ant task ran successful or not. <wldeploy action="deploy" debug="true" name="OMSQueueEngine" source="c:/cvssource/bosprint/dist/OMSQueueEngine.ear" userconfigfile="C:\bea815\weblogic81\wls81.mydomain" userkeyfile="C:\bea815\weblogic81\wls.key" adminurl="t3://10.187.218.183:7001" targets="myserver" /> Eager to see your replies. srikrishna