From: Jim Weirich Date: 2004-08-28T05:08:36+09:00 Subject: Re: Rake FileList Includes Request T. Onoma said: > I would like to make a request for a Rake feature. When using FileList > directives, such as the rdoc task's #include (I assume it is a FileList), > it > would be nice if it didn't throw an error for files it could not find, a > warning should, I think, suffice. FileList itself generally doesn't care if the file names in its list exist or not. It must be the software that is using the file list that is complaining. For example, if you pass a list of files to RDoc, and one of the files doesn't exist, then it is RDoc that would complain, not FileList. If you wish, you can filter out non-existant files before they go to other software with: a_file_list.delete_if { |fn| ! File.exist?(fn) } -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)