You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Edwin Punzalan (JIRA)" <ji...@codehaus.org> on 2009/02/15 11:00:20 UTC

[jira] Commented: (CONTINUUM-798) Modules automatic discovery

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

Edwin Punzalan commented on CONTINUUM-798:
------------------------------------------

Jesse,

Just wanted to get an update from you regarding this...  I'm interested on working on CONTINUUM-745 and the fix I've thought about involves fixing this issue as well.  See: http://mail-archives.apache.org/mod_mbox/continuum-dev/200902.mbox/%3C958977410902120108g4c2f00d7n4f323b00ac23bb1a@mail.gmail.com%3E

If you don't mind, I'd like to take over this issue and here is how I plan to fix this:

1) Save the chosen recursive option on project add along with the continuum project.  So that new sub-modules will not be discovered in case the user meant to add the project as non-recursive.
2) To discover new projects, a new action will be executed after scm update.  And it will reuse (or maybe extract) the logic from the action "create-projects-from-metadata" since this is what's being used to discover subprojects.  The difference is that the pom url will be pointing to the working directory since the project is already in continuum.  And then compare the projects created against what's already in continuum.  New ones will be added.  But I'm not sure yet if non-existent ones will be removed.

Let me know what you think or if you've already started on this one or if you know of a better way.

Thanks.

> Modules automatic discovery
> ---------------------------
>
>                 Key: CONTINUUM-798
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-798
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core system
>    Affects Versions: 1.1-alpha-1
>            Reporter: Nicolas Cazottes
>            Assignee: Jesse McConnell
>             Fix For: 1.3.x
>
>         Attachments: add-modules-from-updated-project.diff
>
>
> In the case of using continuum with a parent POM that all projects inherit from, it should be a great feature to automatically discover addition of new modules and include them as projects in continuum.
> This is already done when the project is created the first time with its POM URL and the same mechanism should be used when continuum discovers that the pom has been updated.

-- 
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