Skip to main content

IBM Programming Assistant for CIM Client Development

A CIM-based programming assistant for facilitating the development of CIM client applications.

Date Posted: September 16, 2008

alphaworks tab navigation

1. Which Java™ libraries should be placed into the lib directory?

It is mandatory to place the two libraries described below in the lib directory:

We use Velocity's own logging mechanism here, so, if you want to log messages in this application, you can refer to Velocity's user guide for further details.

As an example, it is optional to place the following library in the lib directory: log4j-<version>.jar

2. Which properties should be configured in the velocity.properties file?

There are ten properties in the file; the first two are used by Velocity, so please refer to Velocity's user guide if you want to change them. The remaining eight properties are used by the programming assistant:

3. How do I launch this tool?

  1. Make sure that the required Java libraries are located in the lib directory.
  2. Set the correct parameters for this tool in the velocity.properties file.
  3. Modify the content of the cimassistant.bat file to make sure that all JAR files have been set in the class path.
  4. In order to launch the programming assistant tool, double-click the cimassistant.bat file. All the generated CIM client-side Java classes will be placed in the java directory, and the log file will be located under the base directory.

4. How do I use these created CIM client-side Java classes?

Move all the created Java classes to the correct package, which is defined by the property Template.Package in the velocity.properties file. Then you can use these object-oriented classes as usual. Please refer to the Java comments in each file for further information.

5. How do I modify the content of output Java classes?

You can modify the template named CIM_ClassTemplate.vm in the base directory to meet your own requirements, but this function is limited. If you have any specific requirements, please e-mail the author for much more help.

Trademarks




Related technologies