This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189842 - Dependency graph does not allow to add dependency from contextual menu
Summary: Dependency graph does not allow to add dependency from contextual menu
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 189312
  Show dependency tree
 
Reported: 2010-08-25 13:28 UTC by Ondrej Langr
Modified: 2012-02-07 18:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Langr 2010-08-25 13:28:39 UTC
Dependency graph attempted to be used to add dependency several times, via contextual menu on a graph element.


Recommendations: 
Add "Add dependency" option on each of the elements in the dependency graph.
Comment 1 Antonin Nebuzelsky 2010-08-31 15:04:27 UTC
> Add "Add dependency" option on each of the elements in the dependency graph.

Note that only some of the elements are user's local projects.

More issues with this action on the graph elements:

* it would have to be verified that the element in the graph is the version (e.g. 1.0-SNAPSHOT) of that particular project that the user has sources for

* another question is if the user should be able to modify this way a project which he does not have opened

* after the user adds a dependency this way, the graph should reflect the new dependency, but the dependency actually appears in the artifact only after that project is rebuilt

To sum it up - I am not sure if we can make it work in a reasonable and sane way.
Comment 2 Jesse Glick 2010-12-03 18:31:20 UTC
Not a good idea.