Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 680629332 for ; Tue, 12 Jun 2012 21:09:12 +0000 (UTC) Received: (qmail 7273 invoked by uid 500); 12 Jun 2012 21:09:12 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 7240 invoked by uid 500); 12 Jun 2012 21:09:12 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 7202 invoked by uid 99); 12 Jun 2012 21:09:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 21:09:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 21:09:09 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 0C3775DB0; Tue, 12 Jun 2012 21:08:49 +0000 (UTC) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: [Bug 53405] ExtensionPoint doesn't work with nested import/include Date: Tue, 12 Jun 2012 21:08:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jlboudart@apache.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: attachments.isobsolete Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=53405 Jean-Louis Boudart changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #28923|0 |1 is obsolete| | --- Comment #1 from Jean-Louis Boudart --- Created attachment 28924 --> https://issues.apache.org/bugzilla/attachment.cgi?id=28924&action=edit patch to add support of extensionpoint with nested import and include The problems seems to come when ProjectHelper duplicate the extension point while importing a build file. ProjectHelper2 implementation is cloning the extension point as if it was a Target (using Target clone constructor). Then, implementation check instanceof extension point and fails with the message mentioned in original description as it is a Target instance and not an ExtensionPoint instance. I attached a patch to fix this. -- You are receiving this mail because: You are the assignee for the bug.