Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

CODAPPS: Checking for plugin updates

last modified: 2021-04-21 :icons!: :iconsfont: font-awesome :revnumber: 1.0 :example-caption!: :imagesdir: ../../images :sourcedir: ../../../main/java

EMLyon logo corp

1. Notifications for updates

The Codename One plugin is the tool that enables us to apps with NetBeans.

You have installed the plugin, but the creators of the plugin continue to make it evolve, adding new functionalities to it.

It is important to have the latest version of the plugin installed.

When you open NetBeans, it actually checks for you if there is any update available:

Figure 1. Update available

If there is a notification, it means updates are available. Click on the bubble and follow the instructions to download and install the updates.

You can have updates for the Codename One plugin, but also for other components of NetBeans you are not familiar with.

I advise you to install all the updates available.

2. Propagating the update to existing projects

Now, what if you already had created an app in NetBeans? It will not automatically benefit from the updated plugin.

Follow these steps:

  1. Right click on the project’s name, select 'Properties'

  2. In the window that opens, click on “Update project libs”. Close the window

  3. Right click again on the project’s name. Click on “Clean and Build”. You should be good to go!

3. Rare case: the check for updates fails

It sometimes happens that the address that NetBeans checks for plugin updates is incorrect.

In this case, NetBeans will never find updates and you’ll be stuck with an old version of the plugin!

Here is how to make sure you have everything correctly setup (explanations follow the picture below)

Figure 2. Putting the correct web address
  • In the NetBeans menu, click on Tools → Plugin

  • In the window that opens, click on tab “Settings” (last tab on the right)

  • If it’s not, then click on “edit” and put this address above instead.

  • By default, updates are checked every week. Change this for “every startup”.

That’s it! You have to do it just once, next time NetBeans will now how to search plugin updates by itself! 🎉

Just check if there is a bubble at the bottom right corner when you open NetBeans.

The end

Questions? Want to open a discussion on this lesson? Visit the forum here (need a free Github account).

Find references for this lesson, and other lessons, here.

Licence: Creative Commons, Attribution 4.0 International (CC BY 4.0). You are free to:

  • copy and redistribute the material in any medium or format

  • Adapt — remix, transform, and build upon the material

⇒ for any purpose, even commercially.

round portrait mini 150 This course is designed by Clement Levallois.

Discover my other courses in data / tech for business:

Or get in touch via Twitter: @seinecle