Printer FriendlyEmail Article Link

TTworkbench: How to handle multiple plugins sharing jniwrapper in one TTCN-3 project?

Environment/Versions
TTworkbench 32/64 Bit Windows
Answer

If more than one plugins, e.g. both TTplugin MOST and TTplugin GPIB are based on jniwrapper, cannot be loaded in the same project with standard configuration.

To fix this, do the following:

  1.  Create a third library ttPlugin to host jniwrapper
  2. Move both the gpib port implementation and the most implementation from %TTWB_INSTALL_DIR%\plugins\..gpib.rt..\tt3plugin\gpibport and respectively %TTWB_INSTALL_DIR%\plugins\..most.rt..\tt3plugins\mostport to the project directory
  3. Delete jniwrapper dll and jar files from most and gpib lib folder
  4. Modify both TTplugin GPIB and TTplugin MOST and add a dependency to the third party plugin created in step 1.

Product : TTplugins