The road less taken

« Creating your own... | Main | Testing your Update... »
Friday Jun 15, 2007

Packaging your update center module

Once you've created a GlassFish Update center installer.jar, you would want to package it in the format that update center tool would like. Here is how your update center jar should look like.

File system layout for downloadable module file (equivalent of NetBeans NBM file) will be jar archive file with following structure:

         module_xx.jar
                |   
                +- info
                |   |
                |   +- info.xml
                |
                +- module
                      |
                      |
                      +- locale (optional, for localized packages)
                           |
                           |
                           +-installer_xx.jar or installer_xx.zip

installer_xx.jar can be addon component installer or configurator jar file as specified in Addon installer and configurator plug-in imported interfaces.

The DTD for info.xml is here.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed