Solaris Package Creator Plugin For Netbeans!!!
Now, you can create solaris packages of your solaris compliant applications from within netbeans!
The plugin can be accessed from
Solaris-Pkg-Creator.dev.java.net or from
Nebeans Plugins Portal
Note : In both the above links, the plugin comes as an add on to the "Sun Grid Enable My App" plugin.
Note : For clearer screenshots, visit Solaris-Pkg-Creator.dev.java.net
How to use this plugin ?
The plugin is an easy to use 5 step wizard based process to create solaris packages for any application. It can be invoked from the Tools Menu by clicking on 'Create Solaris Pkg'.
Step 1 :
Choose / create a directory to organize your application (to create your bin, lib, docs, man, etc. This may not be needed in some scenarios. Ex, a C application where you performed a configure –prefix=dir and a gmake install. Here, you can choose the prefix dir itself as it will contain all the files that need to be packaged.)

Step 2 :
The file system is displayed in the left side tree. You can copy files to the right side tree which displays the directory chosen in Step 1, thereby designing the way your package should look. Multiple Selection is allowed thereby enabling copying / deleting of multiple files / folders. Right click the right side tree to create new folders.

Step 3.
Enter the prototype file information (user, group and options to include pre, post and checkinstall files). Also, you can edit the generated prototype file to include any advanced options.
Then, in the table provided, enter the pkginfo file information. The first 5 rows marked in RED are mandatory. Information about each field will be displayed when the field is selected.

Step 4.
This screen lets you customize your package post package creation. You can either convert it to a file format by doing a pkgtrans, or perform a zip (.tar, .zip .tar.gz) or both. After the zip operation, you can also choose the destination of the final package zip created.

Step 5.
Nothing to do here! Just enjoy the output of your package creation process! In case of errors, you can go back and rectify any wrong information you entered. When you go back to Step 4, the folder where you are designing your package will be cleaned up viz, the created package files will be deleted.

Posted by bandy on July 12, 2007 at 01:55 PM IST #
It's great!
I'm now working on NetBeans g11n, can I localize this plugin to Japanese? Anyway, I'll request the role to the project so let's discuss later :)
Posted by Masaki Katakai on August 09, 2007 at 11:55 AM IST #
I think this is very nice view shared by all the people. Good.
Posted by Atul on March 28, 2008 at 03:11 PM IST #
I am using netbeans 6.5 and I am not able to run this application. There appears always an error as soon as I am clicking on "Create Solaris Package"
java.lang.NoClassDefFoundError: javax/swing/GroupLayout
The swing-layout-1.0.3.jar library is available in the module path of netbeans.
Has anybody an idea?
Regards,
Christian
Posted by Christian on April 06, 2009 at 03:40 PM IST #