On Thu, 7 Feb 2002, Nick Hughes <[EMAIL PROTECTED]> wrote:

> Is there another way to achieve the same overall effect in the build
> (and cause it to fail with a nice neat message if any of the
> contents are missing)?

I think IsDirValidator from our External Tasks page would help here.

> On a slightly related point - is it my imagination or does Available
> get evaluated out of sequence when its in an antcall.  When I have
> 
> <antcall target="check.files"/>
> <antcall target="process.files"/>
> 
> The relevant properties never seem to be set so the if conditions on
> process.files always fail.

Properties set during <antcall> are only valid during that <antcall>
and never "travel back" to the build process doing the <antcall>.

I think that you don't want to use <antcall>, but the depends
attribute of <target>.

Stefan

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

Reply via email to