Search code examples
ibm-mobilefirstblackberry-10

Setup Blackberry10 Environment on Mac


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.


Solution

  • 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.