You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org> on 2009/05/06 09:19:45 UTC

[jira] Issue Comment Edited: (CONTINUUM-2218) Unrelated but inter-dependent projects in the same group are not built in the correct order

    [ http://jira.codehaus.org/browse/CONTINUUM-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=175205#action_175205 ] 

Maria Catherine Tan edited comment on CONTINUUM-2218 at 5/6/09 2:19 AM:
------------------------------------------------------------------------

This happens because continuum is disregarding the dependency orders of projects that are not part of a multi-module hierarchy because of the changes made for the group update.


In addition to fixing the order of builds of a non multi-module in a group, 

[1] projects within the same group will build in the same "build queue/build agent"

or

[2] projects will build in the same "build queue/build agent" of it's "SNAPSHOT" dependency 


[1] is easier to implement and less expensive
[2] can optimize the use of build queues and build agent


      was (Author: ctan):
    This happens because continuum is disregarding the dependency orders of projects that are not part of a multi-module hierarchy because of the changes made for the group update.


In addition to fixing the ordering of builds of a non multi-module in a group, 

[1] projects within the same group will build in the same "build queue/build agent"

or

[2] projects will build in the same "build queue/build agent" of it's "SNAPSHOT" dependency 


[1] is easier to implement and less expensive
[2] can optimize the use of build queues and build agent

  
> Unrelated but inter-dependent projects in the same group are not built in the correct order
> -------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2218
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2218
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Wendy Smoak
>            Priority: Critical
>             Fix For: 1.3.3
>
>
> To reproduce, add three unrelated projects to a project group where one project depends on the other two, such as an EAR that depends on two WARs.  They can use a master pom as <parent> but should not be part of a parent-with-modules hierarchy.  
> The expected behavior is for Continuum to build the WARs first and then the EAR, however this is not what happens in my example.  The EAR is built first, causing it to have the wrong/old WARs inside and wasting time spent testing the wrong artifacts.
> This happens whether or not multiple parallel build queues are used.  With multiple queues, Continuum scatters the projects among queues and the build order depends on what finishes first.  When restricted to a single queue, you can see the incorrect order as it moves through the queue.
> Continuum should consider dependencies when ordering projects within a group, even if the projects are not part of a multi-module hierarchy.
> [Unconfirmed regression in 1.3.x.  I believe this worked correctly in 1.2.x  as we're getting new problem reports after upgrading, but haven't had time to verify.]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira