It looks like the fail tag just throws an Exception. I didn't actually think to do that, but it looks like this will work just fine. I'm wondering how graceful it would be though, to throw an exception each time I simply want to "return".
Jonathan On 7/5/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
Would using an ant <fail> or a http://jakarta.apache.org/commons/jelly/libs/junit/tags.html#junit:fail work? On 7/5/06, Jonathan Halterman <[EMAIL PROTECTED]> wrote: > Is there a nice way to stop execution of a jelly script or skip over > execution of the remainder of a script? I am thinking of something > like a "return" tag, but so far I haven't come up with a way to > implement this that would work with the existing core tags. Any ideas > are appreciated. > > Thanks, > Jonathan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ "If you even dream of beating me you'd better wake up and apologize" - Muhammad Ali --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]