DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29585>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29585 <apply>: Filelist's behaving like filesets - Require files to be present in order to be included. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows XP |All Summary|Filelist's behaving like |<apply>: Filelist's behaving |filesets - Require files to |like filesets - Require |be present in order to be |files to be present in order |included. |to be included. ------- Additional Comments From [EMAIL PROTECTED] 2004-06-16 08:30 ------- I see, you want <apply> to be able to pass filenames to the executable for files that do not exist. I think this may be an enchancement request. I think you are reading too much into the statement in the filelist documentation. The filelist type/class allows files that do not exist to be specified. It is up to the task the uses this type to process this file path as it sees fit. The <apply> task ignores them, the <concat> task ignores them (but issues a warning). Changing the behaviour of the <apply> task may be backwardly incompatible - some build scripts may depend on the current behaviour. A fix could be an attribute to allow not present files to be passed to the executable. As a workaround, you could use the <for> task from ant-contrib: <ac:for param="file"> <ac:path> <ac:filelist dir="." files="a.x,build.xml"/> </ac:path> <ac:sequential> <exec dir="." executable="echo"> <arg value="param1"/> <arg value="@{file}"/> </exec> </ac:sequential> </ac:for> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]