Jérôme Leroux created EASYANT-70:
------------------------------------
Summary: 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
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 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)