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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry WebWorks Contributions

Reply
New Developer
badtoyz
Posts: 19
Registered: ‎08-11-2012
My Carrier: rogers

Re: BB10 webworks sdk ported to linux

That error is fine. The sdk calls for 0.6.10 but .8 works fine
Please use plain text.
Regular Contributor
annuk
Posts: 78
Registered: ‎09-26-2012
My Carrier: NA

Re: BB10 webworks sdk ported to linux

sometimes it gives me this error while packaging:

 

Oh Snap! Build request failed with message: Error: ENOENT, unlink '/home/annuk/Projects/projects/bb10builds/project.zip'

 

 

Please use plain text.
Regular Contributor
annuk
Posts: 78
Registered: ‎09-26-2012
My Carrier: NA

Re: BB10 webworks sdk ported to linux

Thanks.

 

Will my jar work?

 

Please use plain text.
New Developer
badtoyz
Posts: 19
Registered: ‎08-11-2012
My Carrier: rogers

Re: BB10 webworks sdk ported to linux

Your bar file should work fine
Please use plain text.
Regular Contributor
annuk
Posts: 78
Registered: ‎09-26-2012
My Carrier: NA

Re: BB10 webworks sdk ported to linux

[ Edited ]

Hi thanks,

 

These are my ripple logs which i get when i try to package and sign the build.

 

error response - {"code":1,"msg":"Error: ENOENT, unlink '/home/annuk/Projects/bb10builds/bb10sample.zip'","data":null}
2012-12-06 11:03:58 GET /ripple/build_status/8697 200
error: path.existsSync is now called `fs.existsSync`.
out: [INFO]    Populating application source
out: [WARN]    webworks.js is now packaged as local:///chrome/webworks.js
out: [INFO]    Parsing config.xml
out: [WARN]    Failed to find feature with id: blackberry.message.sms
out: [WARN]    Failed to find feature with id: blackberry.ui.menu
out: [WARN]    Failed to find feature with id: blackberry.system.event
out: [WARN]    Failed to find feature with id: blackberry.app.event
out: [INFO]    Generating output files
out: [INFO]    Info: Package created: /home/annuk/Projects/bb10builds/simulator/bb10sample.bar
out: [INFO]    Info: Package created: /home/annuk/Projects/bb10builds/device/bb10sample.bar
out: [INFO]    Info: Bar signed.
out: [INFO]    BAR packaging complete

Done build

I am using ubuntu 10.04, do I need drivers for deploying the app in BB10. When I run the depoy application command I get the following:

 

sh blackberry-deploy -installApp -package /home/annuk/Projects/bb10builds/device/bb10sample.bar -password "password"
Error: Device settings are missing

 

Regards,

Annuk

Please use plain text.
Regular Contributor
annuk
Posts: 78
Registered: ‎09-26-2012
My Carrier: NA

Re: BB10 webworks sdk ported to linux

Hi,

 

Tried deploying the bar using a windows machine.

But the bar didnt work.

Tried creating the bar of the samples provided by BBUI.

 

Where am I going wrong? Please help.

 

Regards,

Annuk

Please use plain text.
New Developer
badtoyz
Posts: 19
Registered: ‎08-11-2012
My Carrier: rogers

Re: BB10 webworks sdk ported to linux

I use the chrome plugin playbook app manager for installing. Try running the packager on command line.
./bbwp /path/to/app -g <password> -b <build#>
The failed to find errors are settings in the config.xml for past versions of the sdk.
No drivers are needed for because it all works over IP
Please use plain text.
Regular Contributor
annuk
Posts: 78
Registered: ‎09-26-2012
My Carrier: NA

Re: BB10 webworks sdk ported to linux

[ Edited ]

Hi,

 

Tried as you said.

 

./bbwp /home/annuk/Projects/bb10builds/bb10sample.zip -g password -b bb10sample.bar
path.existsSync is now called `fs.existsSync`.
[INFO]    Populating application source
[WARN]    webworks.js is now packaged as local:///chrome/webworks.js
[INFO]    Parsing config.xml
[INFO]    Generating output files
[ERROR]   Error: Not a valid build id: bb10sample.bar
[ERROR]   Native Packager exception occurred
[ERROR]   Error: Not a valid build id: bb10sample.bar
[ERROR]   Native Packager exception occurred

 but got the following.

Please use plain text.
New Developer
badtoyz
Posts: 19
Registered: ‎08-11-2012
My Carrier: rogers

Re: BB10 webworks sdk ported to linux

Ok the -b needs a number after it. It needs to count up every time you build the package
Please use plain text.
Regular Contributor
annuk
Posts: 78
Registered: ‎09-26-2012
My Carrier: NA

Re: BB10 webworks sdk ported to linux

Hi,

 

Thanks for your help. The error while signing is now gone.

The following logs appear:

 

anwaar@administrator-desktop:~/Projects/Blackberry/BB10-WebWorks-SDK-Linux-master$ ./bbwp /home/anwaar/RippleSites/bb10sample -g passsword -b 2 bb10sample.bar
path.existsSync is now called `fs.existsSync`.
[INFO]    Populating application source
[WARN]    webworks.js is now packaged as local:///chrome/webworks.js
[INFO]    Parsing config.xml
[INFO]    Generating output files
[INFO]    Info: Package created: /home/anwaar/RippleSites/simulator/bb10sample.bar
[INFO]    Info: Package created: /home/anwaar/RippleSites/device/bb10sample.bar
[INFO]    Info: Bar signed.
[INFO]    BAR packaging complete

 

But I am not able to deploy the app in my BB10 device.

anwaar@administrator-desktop:~/Projects/Blackberry/BB10-WebWorks-SDK-Linux-master/dependencies/tools/bin$ ./blackberry-deploy  -installApp -package /home/anwaar/RippleSites/device/bb10sample.bar -password "password"
Error: Device settings are missing

The build is successfully signed. The only thing that remains is the installation of the app on the BB10 device. Will try if the bar works on the BB10 device by installing it from a windows machine.

 

How will I know that the device is connected to my Linux machine?

 

Regards,

Annuk

 

Please use plain text.