Project tree (like dependency tree)

View: New views
2 Messages — Rating Filter:   Alert me  

Project tree (like dependency tree)

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What would be involved in displaying a "Project Tree" that is like the
current dependency tree, but instead works off the <parent> hierarchy?

(I don't think it could be done top-down using the <modules> because
those are actually directory names, and don't have to match the child
artifactId.)

Is the data to do this already available in the database?  Can anyone
think of a reason this would be difficult or not advisable?

I opened http://jira.codehaus.org/browse/MRM-1209 and I see Brett put
it in version 1.x, so that's a positive sign. :)

Thanks,
--
Wendy

Re: Project tree (like dependency tree)

by brettporter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 07/07/2009, at 8:55 AM, Wendy Smoak wrote:

> What would be involved in displaying a "Project Tree" that is like the
> current dependency tree, but instead works off the <parent> hierarchy?
>
> (I don't think it could be done top-down using the <modules> because
> those are actually directory names, and don't have to match the child
> artifactId.)
>
> Is the data to do this already available in the database?  Can anyone
> think of a reason this would be difficult or not advisable?

The parent is in the database (it's already linked from the project  
page), so some recursive lookups should be able to get the information  
in both directions.

>
> I opened http://jira.codehaus.org/browse/MRM-1209 and I see Brett put
> it in version 1.x, so that's a positive sign. :)

Well that's the "good idea/valid request but not yet" bucket for  
people to pull things from that they want to work on :)

- Brett