You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jean-Louis Boudart (JIRA)" <ji...@apache.org> on 2013/05/22 11:52:26 UTC

[jira] [Commented] (EASYANT-55) The attribute onMissingExtensionPoint of the bindtargets task is ignored

    [ https://issues.apache.org/jira/browse/EASYANT-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13663976#comment-13663976 ] 

Jean-Louis Boudart commented on EASYANT-55:
-------------------------------------------

Hi Tim, thanks for the patch.

I think it would be better to upgrade to ant 1.9.1 to take advantage of the reusable method resolveExtensionOfAttributes(Project p)
in [[ProjectHelper|http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/ProjectHelper.java]]

If you have time please add your simple test case.

As you pointed out OnMissingExtensionPoint was not fully supported, this was a transitionnal state before removing our own ProjectHelper.

I can't tell you the reason why extension infos are presented as arrays as the code has changed a lot between original POC from easyant. I would also prefer having something different than an array here (a new object? ExtensionInfos ?:p). Maybe we can raise this question on ant-dev ML.
                
> The attribute onMissingExtensionPoint of the bindtargets task is ignored
> ------------------------------------------------------------------------
>
>                 Key: EASYANT-55
>                 URL: https://issues.apache.org/jira/browse/EASYANT-55
>             Project: EasyAnt
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9
>            Reporter: Tim Enderling
>         Attachments: EASYANT-55-EasyAnt-respects-the-onMissingExtensionPo.patch
>
>
> When using the {{bindtargets}} task that is now part of Ant with a non-existing extension point, EasyAnt will complain about the missing extension point and fail, no matter which value was specified for the {{onMissingExtensionPoint}} attribute.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira