« Return to Thread: adding a nbm to a suite - possible?

Re: adding a nbm to a suite - possible?

by Tim Boudreau :: Rate this Message:

Reply to Author | View in Thread

Michael Bien wrote:
is it possible to add a pre-packaged nbm to a suite? Or with other words how to add a dependency to a module which is no netbeans core module?
Not currently (it would be nice).  What you can do is cheat by creating your own nb platform instance with it installed:
 - Either make a copy of NetBeans, or if there's a lot of stuff you don't want, create an empty suite.  Then build it and create a zip distribution and unpack that.
 - Launch the result
 - In Tools | Plugins, install the NBM you want globally (check the "force install into shared directories" checkbox)
 - Shut it down
 - In your real IDE, use Tools | NetBeans Platforms to point at the copy of the platform that now has the module you want in it
 - Set your suite to build against that.  It should pick up the module you installed and all classes in it's public packages.

It ain't pretty but it should work.

-Tim

 « Return to Thread: adding a nbm to a suite - possible?