07-31-2013 09:33 AM - edited 07-31-2013 09:34 AM
C:\Program Files\Research In Motion\BlackBerry WebWorks SDK 22.214.171.124>bbwp
C:\apps\sampleapp.zip -o C:\apps\Output2
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating application archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling BlackBerry WebWorks application
I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.1358
.tmp\sampleapp (The system cannot find the file specified)
[ERROR] RAPC exception occurred
How to fix this issue
Solved! Go to Solution.
07-31-2013 03:57 PM
08-01-2013 02:28 AM
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
and In my zip file of application I have the follwoing folders
4 PNG images
The folder realtime-nitifications consist of folders "examples" and "src" and ReadMe .md file same as the
original "pusher-html5-realtime-push-notifications-c61b0e1" folder from github
08-01-2013 02:35 AM
waiting for your quick reply
08-01-2013 10:44 AM
The tools are not compatible with JDK7. You will need to install JDK6 and it must be the 32-bit version.
If you have multiple versions of the JDK, you can modify bbwp.properties in the bin subfolder of your WebWorks SDK to include the following:
<java>C:\Program Files (x86)\Java\jdk1.6.0_31</java>
You would update the JDK version to match your own, but note that it is referencing Program Files (x86); the 32-bit installations path. This way you can have multiple JDKs if you require, but the bbwp command should reference the appropriate JDK.
In short, it must be JDK6 and it must be 32-bit.
08-01-2013 02:32 PM
Regarding the JDK, please see this thread for a bit more detail that I've come across today as well:
08-02-2013 03:25 AM
Thank You Orso Now my problem got fixed after making the changes as said by you.
Now Iam able to build and package and sign the application too.