Well, if they are unrelated packages, they should
each have their own XML file so each can be compiled
separately.

If they are related, i.e dependent, that this behavior
is as designed. No point in compiling packages that depend
on a failed compile.

Zhendi Su wrote:
> 
> Hi,
> 
> I am using ant to compile several packages.  I notice that if ant
> encounters error in compiling one package it will stop.  So how do I
> tell ant to keep going if one target fails?
> 
> part of my build.xml looks like:
> 
> <target name="target1">
> <javac srcdir="dir1" destdir="mydir" />
> </target>
> 
> <target name="target2">
> <javac srcdir="dir2" destdir="mydir" />
> </target>
> 
> <target name="target3">
> <javac srcdir="dir3" destdir="mydir" />
> </target>
> 
> So if target1 fails, is there any way to tell ant to jump to target2 and
> target3?  Thanks  a lot!
> 
> Zhendi Su
> 
>   
>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to