You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/06/12 23:08:48 UTC

[Bug 53405] ExtensionPoint doesn't work with nested import/include

https://issues.apache.org/bugzilla/show_bug.cgi?id=53405

Jean-Louis Boudart <jl...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28923|0                           |1
        is obsolete|                            |

--- Comment #1 from Jean-Louis Boudart <jl...@apache.org> ---
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.