Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Highlighted
New Developer
Posts: 4
Registered: ‎01-13-2011
My Device: Tour
My Carrier: Verizon
Accepted Solution

WebWorks bbwp command issue - sample code sketchpad

I am attempting to compile the sketchpad_sample.zip code using the bbwp tool provided in the WebWorks SDK. 

 

I changed the name of the zip to touch2.zip because the tool does not like the name "sketchpad_sample".

 

The compile fails for some reason, anyone have any idea why this may be happening?

 

 

C:\Blackberry_Webworks_SDK_10\bbwp>bbwp c:\touch2.zip /v
[INFO]                  Parsing command line options
[INFO]                  Parsing bbwp.properties
[INFO]                  Validating WebWorks archive
[INFO]                  Parsing config.xml
[INFO]                  Validating config.xml
[INFO]                  Validating application version
[WARNING]               Failed to find a <feature> element
[INFO]                  Validating the <name> element
[INFO]                  Validating the <author> element
[INFO]                  Populating application source
[INFO]                  Compiling WebWorks application
Error: could not find a JVM.
[INFO]                  Packaging the bar file
java.io.FileNotFoundException: C:\Users\JOHNGL~1\AppData\Local\Temp\widgetGen.98
67058541294958488070.tmp\touch2.swf (The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at net.rim.tumbler.file.FileManager.copyFile(FileManager.java:473)
        at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:126)
        at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:154)
        at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:80)
[ERROR]                 Air Packager exception occurred
I am using Windows7 64 bit, the JRE being used is the one included in the WebWorks directory, it is targeted in the properties folder.
- John

 

New Developer
Posts: 4
Registered: ‎01-13-2011
My Device: Tour
My Carrier: Verizon

Re: WebWorks bbwp command issue - sample code sketchpad

I believe I have solved the issue, at least the packager compiles the samplecode now.

 

To resolve this, I created an new virtual machine using a 32bit version of Windows 7. This has lead me to believe the WebWorks SDK is not functional in a 64 bit environment.

 

- John

New Developer
Posts: 9
Registered: ‎03-05-2009
My Device: Not Specified

Re: WebWorks bbwp command issue - sample code sketchpad

Hi, 

 

I am using 64bit Windows 7 and I am facing the problem that you have mentioned before.

 

How did you install the VM for 32 bit version of Windows 7. I assume you are talking about VMware: VMware Player 3.1.4 for 32-bit Windows, but I couldn't find one.

 

Can you suggest a website that I can download from, thank you.