I'm working to set up the BlackBerry 10 environment on IBM worklight on Mac OS X. I'm pretty sure that I correctly added the environment variable for the WebWorks SDK.
I added these 2 lines in these 2 files: .profile, .bash_profile:
export WEBWORKS_HOME=/Developer/SDKs/Research\ In\ Motion/BlackBerry\ 10\ WebWorks\ SDK\ 1.0.4.11<br>
export PATH=$PATH:$WEBWORKS_HOME
But I'm still getting this error during the build:
blackberry10 build failed: The 'WEBWORKS_HOME' environment variable is undefined.