DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Including NBM Files in NetBeans RCP Distros

Including NBM Files in NetBeans RCP Distros

Geertjan Wielenga user avatar by
Geertjan Wielenga
·
Apr. 11, 11 · Java Zone · News
Like (0)
Save
Tweet
7.76K Views

Join the DZone community and get the full member experience.

Join For Free
I have an app and I'd like to include an NBM file (in this case, the Space Invaders game) in the distribution to the end user. But I don't have the sources of the NBM. I switch to the Files window and this is the structure of the app:

I build the app. Now I have a build folder, as you can see here:

I create a new folder within the "cluster" folder. The folder is named "update/download". Into that folder I put the NBM file:

Now I run the app, i.e., still in development mode. I see the Updater dialog when the app starts. I can see the module is installed because, in this case, I can play the Space Invaders game.

When I look in my app folder structure in the Files window, I can see that the NBM file has been unpacked in my development user directory, with all requisite files having been created automatically:

So, now, when I create the ZIP distro, I see my NBM file is included, just like any other module that I created myself, even though I don't have the sources of the Space Invaders game:

So now you can head off to the NetBeans Plugin Portal and include any NBMs you find there in your distro!

 

Rich client platform NetBeans

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How to Test JavaScript Code in a Browser
  • Testing Under the Hood Or Behind the Wheel
  • Debugging the Java Message Service (JMS) API Using Lightrun
  • 10 Steps to Become an Outstanding Java Developer

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo