Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 96460 invoked from network); 25 May 2003 04:48:07 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 May 2003 04:48:07 -0000 Received: (qmail 24585 invoked by uid 50); 25 May 2003 04:50:26 -0000 Date: 25 May 2003 04:50:26 -0000 Message-ID: <20030525045026.24584.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 20222] New: - [PATCH] TypeSelector for choosing directories/regular files X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20222 [PATCH] TypeSelector for choosing directories/regular files Summary: [PATCH] TypeSelector for choosing directories/regular files Product: Ant Version: 1.6Alpha (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: jefft@apache.org Hi, Attached is a patch implementing a Selector, which lets one select only directories: Or only regular files, with I found this useful in conjunction with the selector, which regards directories as always different. Possibly this is a separate bug, but I thought a generic 'type' selector would be a useful addition anyway. The idea of a 'type' selector could easily be extended further to include: - is file readable - is file writeable - file exists - file is hidden Feedback on whether/how to do this appreciated. Thanks, --Jeff