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

Web and WebWorks Development

Reply
Regular Contributor
Posts: 76
Registered: ‎02-17-2010
My Device: Storm
My Carrier: Vodafone
Accepted Solution

[Playbook WebWork] Error compiling example, sketchPadStandard.

[ Edited ]

Error compiling example, sketchPadStandard.

Hello everyone.

 

Well, I just installed the environment and I tried to compile the example.

Can anyone explain this error?.

 

 

C:\Entornos Desarrollo\WebWorks\bbwp>bbwp "c:\PROYECTOS\sketchPad\playbook\sketc
hPadStandard.zip"
[INFO]                  Parsing command line options
[INFO]                  Parsing bbwp.properties
[INFO]                  Validating WebWorks archive
[INFO]                  Parsing config.xml
[WARNING]               Failed to find a <feature> element
[INFO]                  Populating application source
[INFO]                  Compiling WebWorks application
[INFO]                  Packaging the bar file
Error: unknown protocol: c
[INFO]                  Bar packaging complete
[INFO]                  WebWorks application packaging complete
Thanks, kind regards.
Developer
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

Hi Cesar

 

Can you try and run it from a path that hasn't got a space in it ?

I recall reading that a version of java/jdk had this problem.

 

(if that is the case, then maybe just installing or linking to a different jdk might fix it .. )

 

Another suggestion: yu can switch on bbwp /v for  verbose mode ... maybe that will give you a bit more information.

 

Regards,

H.

Developer
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

 

As an alternative:

 

First try and copy sketchPadStandard.zip into

C:\Entornos Desarrollo\WebWorks\bbwp

 

if it still complains with same protocol error - then I would assume the problem is with:

"C:\Entornos Desarrollo\WebWorks\bbwp" path

 

else its with:

"c:\PROYECTOS\sketchPad\playbook\..."

 

.h

Regular Contributor
Posts: 76
Registered: ‎02-17-2010
My Device: Storm
My Carrier: Vodafone

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

 CORRECT !!

 

  Blank spaces in the path maybe a problem.

 

Solution:

 

compile:


p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}

bbwp sketchPadStandar.zip /s c:\WebWorks /o c:\

 

 

deploy:


 

C:\WebWorks\bbwp\blackberry-tablet-sdk\bin>blackberry-deploy -installApp -passwo
rd ****** -device **.**.**.** -package "C:\WebWorks\bbwp\sketchPadStandard.b
ar"
Sending Install request...
Info: Action: Install
Info: File size: 38984
Info: Installing ...
actual_dname::sketchPadStandardb0d595c8a623777ae8b90efb98a87b.YWU4YjkwZWZiOThhOD
diICAgICA
actual_id::YWU4YjkwZWZiOThhODdiICAgICA
actual_version::1.0.3.0
result::success
 And I can enjoy skecthPad in the simulator.
THANKS!!
Kind regards.

 

Developer
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

 

Note that I do have spaces in my path .. Smiley Happy

 

Think it was the default install path:

C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp

 

Yet it works ... so still think it prob depends on your JDK version.

 

Anyhow - njoy the coding, and the sim  Smiley Wink

 

.H

 

 

Visitor
Posts: 1
Registered: ‎05-18-2011
My Device: 8900
My Carrier: Telcel

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

Hi Cesar,

 

Try changing windows temporary folder to another folder without spaces in path.

 

In command line type:

 

       SET TEMP=C:\TEMP

       SET TMP=C:\TEMP

 

You can set those environment variables in windows system configuration.

 

It worked for me.

 

Best Regards.

Contributor
Posts: 32
Registered: ‎05-05-2011
My Device: BB9700
My Carrier: mts

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

Hi genarom,

Thanks a ton. Your solution worked for me!

New Developer
Posts: 7
Registered: ‎06-08-2012
My Device: developer
My Carrier: NOKIA

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

Hi genarom,
Your method is effective for me.
Thanks a lot !
Regular Contributor
Posts: 63
Registered: ‎06-08-2012
My Device: BlackBerry
My Carrier: BlackBerry

Re: [Playbook WebWork] Error compiling example, sketchPadStandard.

Hi everyone,

Can you help me!

 

I will try to deploy my webworks app on playbook to test call ws method='post' which I have mentioned.

But I have a other issue, can you help me again ^^:

 

This is issue: How to deploy webworks app on playbook

 

I have successfully created a debug token.

After that, I installed it on playbook successfully.

 

You see on page :http://yllus.com/2011/06/18/deploying-a-blackberry-webworks-app-to-the-playbook-windows/

I have just deploy my webworks app on my playbook follow this guide!

I try to implement step to step,

 

The cmd line of the "Step Ten":

C:\Program Files\Research In Motion\blackberry-tablet-sdk-1.1.1\bin>blackberry-deploy -installApp -password playbook -device 169.254.0.1 -package D:\C\device\Converter.bar
Info: Sending request: Install
Info: Action: Install
Info: File size: 2269
Info: Installing ...
Info: Processing 2269 bytes
actual_dname::debug.token.gYABgHN2sVepeOFu_NXRX7cfZTU
actual_id::gYABgHN2sVepeOFu_NXRX7cfZTU
actual_version::0.0.0.3
result::success

 

But my webworks app is not apeared on my playbook!

Could you show me the reason?

 

I am expecting your respone soon!

 

Best Regards,

An Pham