Solaris Package Creator Plugin For Netbeans!!!
By gkrish on Jul 12, 2007
Now, you can create solaris packages of your solaris compliant applications from within netbeans!
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.
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.
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.
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.