Hi, * Ian MacLean wrote on 18.09.2003 (13:27): > I agree. Filter should probably be a seperate task. It might be worth > looking at Ants filterset concept. > > http://ant.apache.org/manual/CoreTypes/filterset.html
OK, a filter task that sets properties for files is interesting. What actually I thought of, when I first mentioned, is the possibility to give an regular expression to filter file content. Eg something like this: Given a regex [^#] would enter all lines to the new file that do not start with a '#'. A expressoin r/\.htm[^l]/.html would replace all occurences of '.htm' with '.html'. This is a functionality similar to sed in linux. -sa -- sa at programmers-world dot com http://www.livingit.de Bookmarks online: http://www.mobile-bookmarks.info Soon available in english Steele's Plagiarism of Somebody's Philosophy: Everybody should believe in something -- I believe I'll have another drink. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers