I would like to be able to compare a set of files checked out from cvs
against a list of "correct" components in a file. The overall effect of
what I want is something like
<available property="cvs.all.present.and.correct">
<fileset includesfile="${contents.file}" />
</available>
Except of course for the fact that available does not support a nested
fileset. 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)?
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. Simply changing this to
<available .../>
<available .../>
<antcall target="process.files" />
Works a treat but I can't find anything in the documentation to tell me why
- or why the first way is wrong.
--
Nic
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>