Download NetBeans!

20090406 Monday April 06, 2009

Suite Chaining & More with NetBeans Platform 6.7

Above, there are three new buttons in the Project Properties dialog of my application, in NetBeans IDE 6.7—one for automatically resolving missing dependencies, another for including a single module from somewhere else into the application, and the final one adds an entire cluster.

So, what does this mean? Well, remember how Java VisualVM is now in the JDK (since JDK 6 Update 7)? I can now click the "Add Cluster" button and browse to the JDK, to its "lib/visualvm/visualvm" folder (which is a cluster of NetBeans modules) and then the VisualVM JARs, from the JDK (i.e., no special downloading of anything at all) are available to my application.

In the same way, you can now reuse single modules or groups (clusters) of modules from one application in another application, which is especially relevant in companies developing several applications on top of the NetBeans Platform (or their own platform on top of the NetBeans Platform) where they typically have a set of modules that they'd like to share between their various applications. In the past, the question of "suite chaining" was always a fidgety Ant-scripting process that had to be implemented manually. Now it's a point and click process. Hurray.

Apr 06 2009, 04:12:28 AM PDT Permalink

Trackback URL: http://blogs.sun.com/geertjan/entry/suite_chaining_more_with_netbeans
Comments:

I couldn't actually get reuse of an module or cluster to work in my testing with 6.7 M3. Can you provide an overview of how to do this?? For example, if I create a Module M1, how can I use it among Platform Application A1 and A2?

Thanks!

Posted by john on April 08, 2009 at 07:30 PM PDT #

Nevermind to the above request. You have to navigate to the build/cluster directory. 6.7 M3 has a bug relating to this I think which was a bit confusing.

Posted by john on April 10, 2009 at 06:50 AM PDT #

Thanks Geertjan for spreading the word :). Just for further readers: I've also added developer FAQ at http://wiki.netbeans.org/DevFaqHowToReuseModules

Posted by Richard on June 09, 2009 at 09:25 AM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed