How to call a java helper plug-in with parameters using Rational RhapsodyCL
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
- Create and build a Java helper plugin which takes parameters
A sample java helper plugin (testPlugin.java) and sample helper file (testPlugin.hep) are attached.
- Modify the property General > Model > HelpersFile to point to the helper file location in Rhapsody Project properties
- Open Command Prompt and navigate to the Rhapsody installation directory.
- 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.
Translate this page: