Monday, October 15, 2007

Plug-in Dependency Visualization... M1 Available!

I was finally able to make a version of my Plug-in Dependency Visualization tool available on an update site.

http://download.eclipse.org/eclipse/pde/incubator/visualization/site



Point your update manager there if you want to try it out. The tool works with Eclipse version 3.3 (Europa) and later. The tool is pretty easy to use, simply load the view (Visualizations->Graph Plug-in Dependencies), right-click on the canvas, select "Focus On..." and select the bundle you wish to see.

I also put together a New and Noteworthy to highlight some of the features. I am already getting some good feedback, including Eugene's suggestion to remove the control panel (and make the options available through context menu) and to add extension point information.

As I mentioned before I did this work as part of the Summer of Code project. It was a great experience and I can't thank Chris Aniszczyk enough for encouraging me to apply and mentoring me throughout the summer. Seriously Chris, if you are in B.C. skiing this winter let me know, I owe you a few frosty beverages.

As for the SoC program, it is a great opportunity! For all you students out there, it is never to early to start thinking about ideas and bouncing them off Eclipse developers. As I won't be a student next summer (my wife and daughter will disown me if I am still in school next year :D ) I won't be participating as a student, however, I hope to help out as a mentor. Wayne, when does that start?

11 comments:

Benjamin Cabé said...

Wow, congratulations ! It's very impressive for a 0.1 version ! :-)

AlBlue said...

Nice one, Ian :-)

Tomasz Zarna said...

Ian, I was eager to try it out but it looks that the link you provided isn't pointing to a valid feature. I'm getting n FatalIOException[1] when trying to download it.

[1] org.eclipse.update.internal.core.FatalIOException: Server returned HTTP response code: "404 Not Found" for URL: http://download.eclipse.org/eclipse/pde/incubator/visualization/site/features/org.eclipse.pde.visualization.dependency_feature_0.1.0.20071004.jar.

Chris Aniszczyk (zx) said...

The update site URL is:

http://download.eclipse.org/eclipse/pde/incubator/visualization/site/

Ian Bull said...

If you click on the link you should get it. On download.eclipse.org it is eclipse/pde/incubator/visualization/site but this template won't allow string that long :-).

Matthias Luebken said...

Epic! ;-) Thanks a lot Ian!
I've posted some bugs. Let me know if I can help in any way.

Villane said...

Nice! It makes Eclipse look really messy, though :)

Evan Hughes said...

Using this url (shown on the incubator page), eclipse tells me there are no features on the selected site.

Unknown said...

Great job. This has come in handy several times in the last few weeks already. I'll recommend it to all my friends.

OK... my one friend. :(

Unknown said...

Hi,

fantastic plugin - could you make it work for general OSGi bundles as well (so Focus on.. OSGi jar file)?

Olle

Ajay Deshpande said...

When I tried this, the download and install was perfect. However when I right-click and select "Focus On" I get the following exception:




java.lang.NoClassDefFoundError: org/eclipse/pde/internal/ui/dialogs/PluginSelectionDialog
at org.eclipse.pde.internal.visualization.dependency.views.PluginVisualizationView$5.run(PluginVisualizationView.java:469)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
......




Session data:



eclipse.buildId=M20080911-1700
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
.......



I am looking into this error, but thought I will ask if anyone else is facing it.

thanks,
ajay