[
https://issues.apache.org/jira/browse/GERONIMO-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462428
]
Rakesh Midha commented on GERONIMO-2691:
----------------------------------------
Attached is the common.patch and dependencyview2691.patch which implements
dependencyViewer console view.
The dependency.gif file shows how this view will look.
This view shows all the components and repository items and its dependencies in
hierarchical fashion in which they are loaded. To facilitate locating of items
of interest the tree view can be searched.
The configuration provided in kernel is used to get dependencies. It is same
approach as one used in config section of console, the main difference being,
1. Everything is shown in a dojo tree, which means it is hierarchical and
easily traceable.
2. Config section used dependency manager and shows only serviceparents(),
where as this view directly list the direct dependencies as well as
serviceparents
The tree can grow like anything, so we are using dojo tree nodes lazly loaded.
To load dojo tree nodes lazily, the StringTree instances are converted to JSON
string, and setChildren is called to lazy loading of childrens on expension.
To use the patches first apply common.patch which adds StringTree.java and
TreeDocIcon.css
and than apply dependencyView2691.patch. The common patch is also used in JIRA
2689 and 2690.
Clicking the dependency node will select the component so that you can see its
further dependencies.
Thanks
> New view for the hierarchical modules and linked dependencies
> -------------------------------------------------------------
>
> Key: GERONIMO-2691
> URL: https://issues.apache.org/jira/browse/GERONIMO-2691
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 2.0
> Environment: Any
> Reporter: Rakesh Midha
> Assigned To: Rakesh Midha
> Fix For: 2.0
>
> Attachments: common.patch, dependency.gif, dependencyview2691.patch
>
>
> Dependencies in Geronimo get complex sometimes (in fact lot of times). We
> spend lot of time in knowing which components has what dependencies.
> Knowing the dependencies of each module in hierarchical fashion will be a
> nice feature in console. I would like to add a view in console which can show
> all the modules, repository items and link them based on dependencies.
> This item was discussed before in thread:
> http://mail-archives.apache.org/mod_mbox/geronimo-dev/200607.mbox/[EMAIL
> PROTECTED]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira