ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Voytitsky <>
Subject <include>
Date Mon, 03 Jun 2002 13:55:04 GMT
Hello All,

Nested element <include> is used by <fileset>, <zipfileset>,
<patternset> etc...

Value of <include>'s attribute 'name' formally defined as pattern
actually may be one of the following:

*pattern describing set of files (will call this set as 'result-set')
(attribute's value contains at least one wild-card char)
Result-set may be empty, may contain single file or multiple files.

*full specified filename
(attribute's value contains NO wild-card chars)
Result-set in this case may be empty or may contain single file only.

Does anyone agree with my opinion that would be useful
to have optional <include>'s attribute 'whenempty="fail"'?

If it presents and <include>'s result-set calculated to empty set
then build is failed
and message like "File matched against _pattern_ not found" displayed.

I'm open to discussion :)

Thanks in advance.

Best regards,
Eugene Voytitsky                

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message