Novell Home

Roll out new iManager Plugin

Novell Cool Solutions: Feature
By R Sathish

Rate This Page

Reader Rating  stars  from 2 ratings

Digg This - Slashdot This

Posted: 16 Nov 2004
 

Your next plugin need not be built from scratch, nor do you need to scale down an existing workarea. This article provides and explains a working generic XY plugin which you can build from.

XY_plugin~rsathish.zip provides the base where you can easily add:

  1. Java classes in src/com/novell/admin/xy
  2. Utility classes in src/com/novell/admin/xyutils
  3. Javascripts in xy/javascripts
  4. JSPs in xy/npm/portal/modules/xy/skins/default/devices/default

Features of XY_plugin~rsathish.zip

  • Directories for adding Java, Jsp, XML, HTML help, Properties, Java scripts
  • Simple placeholder files in those directories
  • Build script for making a robust npm
  • Support for iManager tag libraries
  1. Unzip XY_plugin~rsathish.zip.
    You will see these directories and files:
  2. Unzip xy_plugin.zip
    You will see these files in xy_plugin.
  3. Change "xy" to a new plugin name.
  4. The plugins ant build script guarantees the creation of iManager 2.5.0 compliant NPMs. I made a batch file for doing the necessary renames.

    >Files.bat "plugin_id_small" "plugin_id_caps"
  5. Create a new project in VCS using migrate.
  6. CCM migrate provides the best way to create a new continuus project. You will save lot of time in creating directories and files. You should use a similar command for CVS.

    CM Synergy -> Tools -> Migrate



  7. Build the new plugin
    • Enter xy_plugin\build scripts
    • Execute build.bat

    You will get XY.npm in xy_plugin directory and the directory structure will be as follows:


  8. Install XY.npm in iManager
  9. The generated XY.npm will have minimal files for successful deployment of the new plugin.

    • Configure -> Module Installation -> Available Novell plugin modules -> New
    • Install
    • Restart Tomcat
    • Configure -> Role Based Services -> RBS Configuration -> Select the container -> Install

Figure 1 XY.npm and XY.jar listings


Click for larger view.
  1. Launch XY task
Roles and Tasks tab -> XY Role display -> XY Task display

Reader Comments

  • Great stuff but 2.5 is not out yet...YOU SHOULD MAKE THIS CLEAR

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.