John Hardin wrote:
On Tue, 2004-12-14 at 04:40, Troy Laurin wrote:


The cleanest solution (IMHO) was to create a custom try/catch/finally task... your codecov target becomes:

<target name="codecov" depends="codecov-start" failonerror=”true”>
  <try>
    <call target="codecov-start" />
    <call target="test" />
    <finally>
      <call target="codecov-stop" />
    </finally>
  </try>
</target>


GACK!

Where is this documented? Is this part of the standard syntax for all
targets?

--
John Hardin

John,

This currently isn't documented, because it's not a part of the standard distribution - it's a custom task I wrote for a previous project.

There seems to be interest in it, though... I think I'll clean it up, extend it a little and donate it to NAnt-contrib.


-- Troy


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to