Re: centipede query

Nick Chalko <[email protected]> Mon, 18 Aug 2003 14:09:22 -0700
Newsgroups gmane.comp.krysalis.user
Message-ID <[email protected]>
Bharat wrote:

> Hi all:
>
> In my Unix script, I am calling the "code" target. Here's what it 
> looks like:
>
> <target name="code">
>   <antcall target="cleanCode"/>
>   <antcall target="core"/>
>   <touch file="${project.build}/successful.build"/>
>   <antcall target="deploy-dev"/>
>   <antcall target="buildSiteAfterDeploy"/>
> </target>
>
> Now here is a possible scenario:
>
> 1. The core target inturn does a compile and jar. Lets assume the 
> compile fails. Then, will the rest of the contents of code target be 
> executed after <antcall target="core"/>???
>

The build fails when antcall fails so this should do what you want. 
However antcall are expensive it is better if you avoid using them.

Try using a normal depends process.




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01