Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 1157 invoked from network); 13 Oct 2003 17:05:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Oct 2003 17:05:41 -0000 Received: (qmail 52335 invoked by uid 500); 13 Oct 2003 17:05:31 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 52285 invoked by uid 500); 13 Oct 2003 17:05:31 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 52272 invoked from network); 13 Oct 2003 17:05:30 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 13 Oct 2003 17:05:30 -0000 Received: (qmail 16013 invoked by uid 50); 13 Oct 2003 17:08:36 -0000 Date: 13 Oct 2003 17:08:36 -0000 Message-ID: <20031013170836.16012.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 23790] New: - warn if multiple patterns in include name attribute that expects to hold only a single pattern (e.g. in delete) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.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=23790 warn if multiple patterns in include name attribute that expects to hold only a single pattern (e.g. in delete) Summary: warn if multiple patterns in include name attribute that expects to hold only a single pattern (e.g. in delete) Product: Ant Version: 1.6Beta Platform: Other URL: http://ant.apache.org/manual/CoreTypes/patternset.html OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: dev@ant.apache.org ReportedBy: hauser@acm.org Not knowing http://ant.apache.org/manual/CoreTypes/patternset.html, I had the below it seems that if there is a second element in the exclude statement, it is simply ignored which is quite dangerous in this case here - also the **/transform/*.class files were deleted! Suggestion: warn if there is a second element that is not expected to be there and do not simply ignore it! In the case of the "delete" task, this is not fail-safe at all. See also: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23789 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org