ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18402] - add support for a new target attribute "finally"
Date Thu, 03 Apr 2003 14:00:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18402>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18402

add support for a new target attribute "finally"





------- Additional Comments From j_a_fernandez@yahoo.com  2003-04-03 14:00 -------
Have you take a look at the <trycatch/> task in antcontrib?
I think it allows you to write exactly what you want with clear semantics.

<target name="mytask" depends="init"> 
  <trycatch>
    <try> ....</try>
    <finally>
      <antcall target="cleanup"/> 
    </finally>
  <trycatch>
</target>

Are you proposing something with a meaning different than this one?

Mime
View raw message