-1

I'm building Hybrid application on Worklight using Eclipse.

I have downloaded BB10 sdks and followed the steps mentioned in previous question (IBM Worklight - Mac - "'WEBWORKS_HOME' environment variable is undefined")

However, I'm still facing this issue when I build the project using eclipse on Mac:

blackberry10 build failed: the 'WEBWORKS_HOME' environment variable is not defined. Add an environment variable named 'WEBWORKS_HOME' pointing to the WebWorks SDK root folder.

Thank you.

Community
  • 1
  • 1
Sami
  • 572
  • 8
  • 22
  • What does `echo $WEBWORKS_HOME` in a terminal give you? –  Jan 06 '15 at 19:03
  • I'm getting this (/Applications/BB10 WebWorks SDK 2.2.0.15) even I have set my env as the link I have provided. – Sami Jan 06 '15 at 19:21
  • Then you are **not** following my explanation in the link from your question (even though you say you are...). Follow it. Remove the spaces and follow the steps exactly. Also see my answer below. – Idan Adar Jan 06 '15 at 20:23

1 Answers1

0

These are the steps I've taken:

  1. I've installed the BlackBerry WebWorks SDK v1.x to:

    /Users/idanadar/Documents/MobileFirst/Setup/BlackBerry/10/SDK1.0.4.11

  2. I then used the EnvPane application to create a "WEBWORKS_HOME" variable pointing to the above path.

  3. After restarting Eclipse, I've created a new project & application, and successfuly added the BlackBerry 10 environment it.

Idan Adar
  • 44,156
  • 13
  • 50
  • 89