You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rajesh Kumar (IN4774)" <ra...@mindtree.com> on 2009/05/09 13:22:15 UTC

Ant Target Question

Hi,

I have few build target in my build.xml, I want if some target is not successful, though build should not stopped and it should continue to next target.

Any help?

Rajesh

________________________________
http://www.mindtree.com/email/disclaimer.html

Re: Ant Target Question

Posted by Francis Galiegue <fg...@one2team.com>.
Le Saturday 09 May 2009 13:22:15 Rajesh Kumar (IN4774), vous avez écrit :
> Hi,
>
> I have few build target in my build.xml, I want if some target is not
> successful, though build should not stopped and it should continue to next
> target.
>
> Any help?
>

Use ant-contrib's try/catch.

Yes, ant-contrib again.

-- 
Francis Galiegue
fge@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org