IBM Support

How to call a java helper plug-in with parameters using Rational RhapsodyCL

Technote (FAQ)


How do you call a java helper plugin with parameters using IBM Rational RhapsodyCL?


You would like to Invoke a java helper with parameters using Rational RhapsodyCL



  1. Create and build a Java helper plugin which takes parameters
    A sample java helper plugin ( and sample helper file (testPlugin.hep) are attached.

  2. Modify the property General > Model > HelpersFile to point to the helper file location in Rhapsody Project properties

  3. Open Command Prompt and navigate to the Rhapsody installation directory.

  4. Run the following command:

    <Rhapsody Install dir>RhapsodyCL -cmd=open C:\work\plugins\Test.rpy -cmd=call TestPlugin -cmd=call "TestPlugin helloparam c:/work/"


All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


Document information

More support for: Rational Rhapsody
General Information

Software version: 8.0

Operating system(s): Windows

Reference #: 1632143

Modified date: 26 March 2013

Translate this page: