ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Louis Boudart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EASYANT-70) Specified targets order not kept when building multi-modules
Date Mon, 24 Nov 2014 18:52:13 GMT

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

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

Hi Jérôme,

How could this patch fix the the target order when building multi-modules ?

> Specified targets order not kept when building multi-modules
> ------------------------------------------------------------
>
>                 Key: EASYANT-70
>                 URL: https://issues.apache.org/jira/browse/EASYANT-70
>             Project: EasyAnt
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9
>            Reporter: Jérôme Leroux
>         Attachments: 0001-easyant-Fix-issue-EASYANT-71.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When buildng a multi-modules projects, the targets specified in the command line are
not always executed in the right order.
> For example, with the following command:
> {{easyant clean publish-shared}}
> We get the following verbose:
> {quote}
> Executing [clean, publish-shared] on mySubModule
> ======================================================================
> Setting project property: project.executed.targets -> publish-shared,clean
> Setting ro project property: ant.project.invoked-targets -> publish-shared,clean
> Build sequence for target(s) `publish-shared', `clean' is 
> {quote}
> The {{publish-shared}} target is executed before the {{clean}} target.
> The issue seems to come from the method {{org.apache.easyant.tasks.SubModule.filterTargets()}}.
This method creates a set of targets (unordered) from a list of targets (ordered).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message