Wednesday May 26, 2010

Silent Update of RCP Application as NetBeans Module Sample

I got many requests to showing how to update Netbeans RCP Application silently. I blogged about long time ago - how_to_update_netbeans_platform including some code snippets. Right now I published on kenai.com a NetBeans Module Sample Sample Silent Update which allows you to add a sample doing Silent Update directly to your application.

How to try it?

[Read More]

Monday May 11, 2009

NetBeans Platform at JavaOne 2009

Hi. JavaOne 2009 is coming...

If you would like to learn more about developing over the NetBeans Platform (RCP), stop by at a technical session Porting an Application to the NetBeans™ IDE and at a hands-on lab Save Time — Build Desktop Applications Quickly with the NetBeans™ Platform.

I and Geertjan or Lukas (or maybe both) are giving hands-on lab Save Time — Build Desktop Applications Quickly with the NetBeans™ Platform on Thursday, 4th June, starting 3:30 PM - 5:10 PM PST in Hall E 130-131in the Moscone Centre.

You are highly welcome there.

Friday Jan 23, 2009

Quietly disable modules at runtime?

I was given a inquiry from user of NetBeans Platform. He want to know a way how to disable one or more modules in running application built on NetBeans Platform, in additional it must be perform silently, i.e. with no end-user intervention or any assistance.

Well, he requirement is clear but its fulfillment has several difficulties: first, modules in NetBeans Platform depends on each other and it's uneasy to discover modules which don't involve any essential module of platform. Second, modules can depend on each other even thought don't declare such dependency. Such ad-hoc dependencies are mistakes and NetBeans architecture is aiming to avoid them but few of them can still left there. This fact leaded NetBeans team to do disabling of module only in "offline" time, it means when NetBeans application is not running currently.

Okay. It was bad news, good news is that Autoupdate Services API has capability to perform disabling of module in currently running application (with awareness of possible problems stated above).

[Read More]

Monday Dec 22, 2008

How to update NetBeans Platform Application silently?

In a mail thread [openide-dev] Automatic Autoupdate I've been asked for a guidance how to use Autoupdate Services for installing updates of your NetBeans Platform Application with as few as possible user's interactions.

The blueprint should look like:

  1. check the server for any updates
  2. download any updates 
  3. install all updates (without prompting the user) 
  4. notify the user to restart the application, if necessary.
Look on the following recipe:
[Read More]

Friday Nov 14, 2008

New Feature in NetBeans 7.0 - Plugin Importer

As you know, NetBeans 6.5 coming.... and contributing new features into NetBeans 7.0 (Dev) has started recently. One of them - importing plugins from previous release into new one - is here.


How does Plugin Import work?

  • If are you starting NetBeans 7.0 (Dev) for the first time e.g. with fresh userdir, you will be asked if you want to import settings from previous version (if any). Let's say Yes.
  • NetBeans imported your settings and then continue starting of IDE as usual.
  • After some delay, Plugin Import will investigate the previous version - the previous userdir - for NetBeans plugins placed there.
  • If any plugins found there:
    1. Plugin Import check if these plugins are installed already in running IDE.
    2. Plugin Import checks if these plugins are available on any subscribed Update Center in Tools|Plugins
    3. If none of that, Plugin Import investigates if these plugins could be copied into running IDE.
  • In case that some plugins can import, you will be notified by icon  in IDE status line, clicking on it you can invoked the dialog above.


So if you found any problems your feedback is more then welcomed. Either file a issue into Issuezilla (choose autoupdate category) or let me know here. Thanks

Design and UI outline is at http://wiki.netbeans.org/ImportPluginsFromReleaseToRelease

Q: There is a possibility to import plugins from different directory?

  • Yes, there is. Just run you NetBeans application (IDE) with command line switch -J-Dplugin.manager.import.from=/path/to/cluster
  • You need to specify path to any NetBeans userdir or whatever NetBeans cluster.

In the end, a small org announcement :-) Further developing or maintaining of Plugin Manager/Autoupdate Services have been overtaken by a team who cares for NetBeans IDE installation for whole and I'm going to support NetBeans Plugin Development aka apisupport. Thank you for your feedback and reporting problems you found in Plugin Manager which helping us to deliver Plugin Manager in a fair quality.

Friday May 09, 2008

JavaOne 2008 is over!

As quickly as JavaOne 2008 was opened it was over.

I saw a couple of interesting sessions or BOFs, some of them were amazing, a few a little boring and I think it was good stuff. I can meet many of NetBeans platform users which the best one benefit such congresses.

Among other things, a lot amazing parties belong to JavaOne as well as technical sessions. In the end, the After Dark party with some Rock music on the stage. However it was over over very quickly too :-(



[Read More]

Friday Apr 25, 2008

How to customize Plugin Manager to your needs?

UI of NetBeans Plugin Manager (Tools|Plugins in NetBeans6 menu item) was designed for a long time and then tunned a bit to fit all objectives:

  • to be high focused to major use-cases
  • to be understandable
  • simplicity
  • and smoothness of user work flow.

I believe it will meet most of users needs however it couldn't cover any imaginable requirement. On this account there are a few options what might be useful for developers using NetBeans platform. I summarized these possibilities at http://wiki.netbeans.org/FaqPluginManagerCustomization. Such as to make Plugin Manager showing all modules regardless of its visibility flag or to show plugin code name in plugin's details.

Have fun! 

About

Rechtacek's

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today