Managing Configurations in Mobility Pack 6.0

NetBeans Mobility Pack 6.0 is still under huge development. More and More new features appear in the builds. One of the new features is improved management of configurations and configurations providers. The configurations should help users to solve the device fragmentation of the Java ME world.

Configurations Providers

There were complains that the Mobility Pack should be able to dig an information about the devices not only from the emulator platform but even from a database that can be updated and provide more detailed description of the abilities and properties of a device. Mobility Pack provides new API for the users therefore they can write provider for whatever device database - e.g. WURFL. The API is quite simple. Adam (the author) provided even sample implementation. With the configuration provider you can easily get the data from a "database" and create a configuration for particular device. Look at the sample provider screenshot.

My StJupid Device Database is new provider for the configuration templates


Configuration Management

The actions "create", "remove", "duplicate", "create templates" etc. with configurations are in Project Configuration Manager in project Properties for long time. The functionality has been extended with the new configuration providers design. You can Add More configurations to project at once.

Project Configuration Manager

You can duplicate multiple configurations by providing a prefix and postfix. Therefore it should be easy to create "_debug" versions for all your configurations.

There are new nodes - Source Packages, Resources and Project Configurations under your project node in the Project view. Let's focus on the Project Configuration node for now. It lists all configurations of your project. You can Add, Remove, Copy the configurations. The clean/build/deploy was improved too.



You can now either select the configurations in the project view and then choose build/cleen/deploy action from contextual (right click) menu or you can use the contextual menu action Build Selected Project Configurations on the project node and then choose the configurations that should be built in the dialog.




You can also Run or Debug a configuration from the contextual menu on the configuration node.

Comments:

http://gorkem-ercan.blogspot.com/2007/06/more-platforms-and-more-companies-are.html SonyEriccson, Motorola and Nokia are betting on SWT. There's no SWT-support in NetBeans.

Posted by Cobain on June 07, 2007 at 10:59 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...

Search

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
news
Blogroll

No bookmarks in folder

OldNews
MyTrash
NavBar
NetBeans
LinksToBeExpanded