Once you set up build settings and click 'Package' button to produce output you get the following error message:
Oh Snap! Build request failed with message: [ERROR] Error: Please enter a valid application id
Go to your application source directory and check the contents of config.xml file. Pay attention to the <widget> opening tag:
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.3" rim:header="RIM-Widget:rim/widget" id="SketchPad">
Possible causes for the error:
- Missing id tag
- White spaces in id tag value (registered issue)
As it turned out, WebWorks samples had the id value missing which was leading to build error when using Ripple.