Jeffrey E Care wrote:
How do you signal a task to clean up after itself after a failed attempt?


yes, you need a <finally> clause, which makes rollback that much harder.

SmartFrog's life is easier as there all components have an sfTerminate() operation that is called for them to clean up (or do a best-effort cleanup, let's be honest) at the end of their lifecycle. So it's easier to rollback state. when a sequence fails you terminate everything that is already running/deployed, then create new instances and try again, after an appropriate wait.

we dont have the same in ant...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to