X

Geertjan's Blog

  • April 6, 2009

Suite Chaining & More with NetBeans Platform 6.7

Geertjan Wielenga
Product Manager

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.

Join the discussion

Comments ( 3 )
  • john Wednesday, April 8, 2009

    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!


  • john Friday, April 10, 2009

    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.


  • Richard Tuesday, June 9, 2009

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


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha