Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 86383 invoked from network); 21 Nov 2006 09:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2006 09:59:09 -0000 Received: (qmail 65606 invoked by uid 500); 21 Nov 2006 09:59:17 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 65572 invoked by uid 500); 21 Nov 2006 09:59:17 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 65499 invoked by uid 99); 21 Nov 2006 09:59:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 01:59:17 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 01:59:06 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id 8958B7142F7; Tue, 21 Nov 2006 01:58:46 -0800 (PST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 41004] - Zipfileset with refid + prefix stopped working. In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20061121095846.8958B7142F7@brutus.apache.org> Date: Tue, 21 Nov 2006 01:58:46 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org 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://issues.apache.org/bugzilla/show_bug.cgi?id=41004 ------- Additional Comments From ajbanck@informatica.com 2006-11-21 01:58 ------- (From update of attachment 19149) >Index: src/main/org/apache/tools/ant/types/ArchiveFileSet.java >=================================================================== >--- src/main/org/apache/tools/ant/types/ArchiveFileSet.java (revision 475170) >+++ src/main/org/apache/tools/ant/types/ArchiveFileSet.java (working copy) >@@ -178,7 +178,11 @@ > * @param prefix The prefix to prepend to entries in the archive file. > */ > public void setPrefix(String prefix) { >- checkAttributesAllowed(); >+ if (isReference() >+ && (getRefid().getReferencedObject(getProject()) >+ instanceof ArchiveFileSet)) { >+ checkAttributesAllowed(); >+ } > if (!prefix.equals("") && !fullpath.equals("")) { > throw new BuildException("Cannot set both fullpath and prefix attributes"); > } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org