Dependency Analyzer for NetBeans Modules

One of the 5 really cool student projects recently created in Linz is... a NetBeans module dependency analyzer! Here it is in action, pretty cool:

I highly recommend it, obviously. (Click the link above to jump to where you can download it.) It's a great tool and possibly feedback could be given to its author.

Comments:

When I try this, I get an exception:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1932)
at java.lang.String.substring(String.java:1905)
at at.csc.depvisualizer.visual.ModuleWidget.<init>(ModuleWidget.java:81)
(...)

lines 80 and 81 of ModuleWidget.java are
int lastpt = data.getCodeNameBase().lastIndexOf('.');
displayname = data.getCodeNameBase().substring(lastpt);

Now it does that only with one of my modules, but the strange thing is that there IS a '.' in this project's code name base. It also has a display name, so it should not even get into that 'else' branch... or maybe something's broken with my module...

Anyway, don't know how to reach the author, so I'm writing it here.

Posted by Honza on March 26, 2009 at 02:46 AM PDT #

It can be a great tool, but I can see it working only selecting a single module - which is not much interesting per se. It would be much more interesting to be able to select a module suite and see all the inter-depedencies among its modules.

Posted by Fabrizio Giudici on March 26, 2009 at 03:25 AM PDT #

Honza, I'm also seeing the .foo stuff, even though all my modules have display names.

Posted by Fabrizio Giudici on March 26, 2009 at 03:27 AM PDT #

Hallo,

I have the same problem: My modules have display names but the nodes show only the last part of the modules id (java package) instead: e.g. ".api" if my modules id is de.orat.noaccent.api

Has somebody looked at the code to solve this.

best regards
Oliver

Posted by Oliver Rettig on March 30, 2009 at 05:37 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today