Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 44214 invoked from network); 22 Sep 2006 10:53:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2006 10:53:49 -0000 Received: (qmail 22554 invoked by uid 500); 22 Sep 2006 10:53:47 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 22443 invoked by uid 500); 22 Sep 2006 10:53:46 -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 22432 invoked by uid 99); 22 Sep 2006 10:53:46 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Sep 2006 03:53:46 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received: from [209.237.227.198] ([209.237.227.198:47350] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 25/26-06791-8B0C3154 for ; Fri, 22 Sep 2006 03:53:44 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id E08024190CD; Fri, 22 Sep 2006 10:50:03 +0000 (GMT) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 39597] - Reference not seen by top level tasks in sub-projects In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060922105003.E08024190CD@brutus.apache.org> Date: Fri, 22 Sep 2006 10:50:03 +0000 (GMT) X-Spam-Rating: minotaur.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://issues.apache.org/bugzilla/show_bug.cgi?id=39597 peterreilly@apache.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Reference not seen in |Reference not seen by top |imported antfile |level tasks in sub-projects ------- Additional Comments From peterreilly@apache.org 2006-09-22 10:50 ------- If b.xml is written like: it also fails. however this works and may be used as a work-around for the moment. The problem is a little historic. In ant 1.5, it was not possible to have top-level tasks (except property). As this was the case, references would not be used except in targets. As this was the case, it was decided to allow references in sub-projects to be over-ridden by references specified in the reference nested element of . This is implemented by running all the top level tasks and types of the sub-project and then setting the references set in the element of ant. -- 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