0

I have two different tasks say A and B. If A fails I need to call B. How is it possible with NAnt.

Nilay Vishwakarma
  • 3,105
  • 1
  • 27
  • 48

1 Answers1

0

I found a way, (for any one who goes across the same issue)

<trycatch>
    <try>
        <call target="A" />
    </try>
    <catch>
        <call target="B" />
    </catch>
</trycatch>
Nilay Vishwakarma
  • 3,105
  • 1
  • 27
  • 48