Search Engine: Elastic

Article ID: 131681, created on Oct 27, 2017, last review on Oct 31, 2017

  • Applies to:
  • Operations Automation 7.2
  • Business Automation 7.2


With C++ SDK upgraded to to version 7.2, an atempt to build a plug-in with C++ SDK fails. The error description is similar to the following:

    Error: ../LISA/ type must has Packer suffix. JAVA Type is Object. attribute type is INT
    Waf: Leaving directory `/root/DomainPlugins/SOMEPLUGIN/.build'
    Build failed: LISA compiler exit code '1' is non-zero. CMD is '['--info', '--server', '--amt', '--postgre'] /root/DomainPlugins/SOMEPLUGIN/SOMEPLUGIN.lsa'


After new JAVA attribute was introduced for LISA types, and C++ SDK was not reconfigured in a proper way so that it should not build Java wrappers for public methods.


  1. Change current working directory to the plug-in source directory.
  2. Run

    grep -r 'LISA.new_task_gen' | grep wscript
  3. For every match found, after line features = 'lsaprogram', add the following line: install_java_dir = None,

    Alternatively, in diff format, the change should look like:

    --- a/wscript
    +++ b/wscript
    @@ -79,6 +79,7 @@ def build(bld):
    cnttask = LISA.new_task_gen(bld,
                    features        = 'lsaprogram',
    +               install_java_dir= None,
                    source          = '@@PROJECT@.lsa',
                    bodies          = [ '' ],
                    internals       = [ '', 'plugin.cpp' ],

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 31987597efff5a3a9ce779cc203bbe5e 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d ef171e3fccb12bd8e09076a7b49212c0 b2c3b33425dfc50c7d41a2efaa7f84f3

Email subscription for changes to this article
Save as PDF