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
Trusted Contributor
Magnetic_dud
Posts: 116
Registered: ‎03-06-2012
My Device: Z10
My Carrier: 3 Italia
Accepted Solution

Webworks 10.0.45 gold sdk makes invalid bar files

[ Edited ]
I am getting trouble signing my apps for app world
using the latest SDK, I get a bar with the wrong package name (Package-Name: undefined), so it's not accepted
 
This is what I get inside the manifest.mf if I compile my webworks app using bbwp or ripple
Archive-Created-By: BlackBerry WebKit BAR Packager 1.7
Package-Type: application
Package-Author: dandandin.it
Package-Name: undefined
 
Instead if I use the playbook sdk I get the right one
Archive-Created-By: BlackBerry Tablet OS Air BAR Packager 1.1.1

Package-Type: application
Package-Author: dandandin.it
Package-Name: kanatrainerpbxxxxxxxxxxx

 

If I just package the bar, then fix the manifest, then manually sign using command line, it is accepted by app world, but this is not ok. I want to submit a new app so I don't have the right package name.

 

This happens on Windows 8 AND OS X 10.7.4

What I can do?

 

edit: this is the config.xml

 

<widget version="2.0.0.0" rim:header="KanaTrainer">

<name>KanaTrainer</name>

<description>An app to learn Japanese Kana</description>

<author href="https://www.dandandin.net">Magnetic_dud</author>

<icon src="images/icon.png"/>

<icon src="images/iconh.png" rim:hover="true"/>

<content src="index.htm"/>

<feature id="blackberry.invoke" version="1.0.0"/>

</widget>

Please use plain text.
BlackBerry Development Advisor
kwallis
Posts: 136
Registered: ‎01-19-2010
My Device: BlackBerry Z10
My Carrier: AT&T

Re: Webworks 10.0.45 gold sdk makes invalid bar files

Thanks very much for the report.  We are taking a look at this right away, and we'll let you know if we have any follow up questions.

Ken Wallis - Senior Product Manager, WebWorks and Android Runtime
@ken_wallis
Please use plain text.
BlackBerry Development Advisor
jkeshavarzi
Posts: 4
Registered: ‎08-17-2012
My Device: 9790
My Carrier: Telus

Re: Webworks 10.0.45 gold sdk makes invalid bar files

You're missing the id field in the widget element (see below).

This field is mandatory and is used to create the package-name in the manifest.mf.

 

<widget version="2.0.0.0" rim:header="KanaTrainer" id="KanaTrainer">

Please use plain text.
Trusted Contributor
Magnetic_dud
Posts: 116
Registered: ‎03-06-2012
My Device: Z10
My Carrier: 3 Italia

Re: Webworks 10.0.45 gold sdk makes invalid bar files

it worked! Thanks.
Please use plain text.