DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41004>. 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]