Article ID: 121652, created on May 20, 2014, last review on May 20, 2014

  • Applies to:
  • Business Automation 5.5

Symptoms

During Ecommerce plug-in compilation "waf build" is failing with error:

# waf build
Waf: Entering directory `/EcommercePlugins/PLUGIN/.build'
Running with 12 parallel jobs.
[1/2] casecomp sources generation <- PLUGIN.lsa
Project::Project /EcommercePlugins/PLUGIN/PLUGIN.lsa parent=0
Project::Project /EcommercePlugins/PLUGIN/BM/BM.lsa parent=0xed8300
Error: cannot open file '/EcommercePlugins/PLUGIN/BM/BM.lsa'. (No such file or directory)
Exiting.
Waf: Leaving directory `/EcommercePlugins/PLUGIN/.build'
Build failed: LISA compiler exit code '1' is non-zero. CMD is '['--info', '--server', '--amt', '--postgre'] /EcommercePlugins/PLUGIN/PLUGIN.lsa'

Cause

Template from /usr/local/bm/share/DomainPluginTemplate was used to create plug-in, but code for Ecommerce plug-in is used.

Resolution

Build new plug-in from from Ecommerce template:

cd /usr/local/bm/share/EcommerceSDK/
PROJECT_NAME=MYTEST REGISTRAR_NAME=MyTest sh create_plugin.sh 

The script creates the plug-in files and places them into the /root/EcommercePlugins/MYTEST folder.

Copy all modified files from old plug-in and re-run waf build command.

Search Words

cannot open file

BM.lsa

BM/BM.lsa

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF