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
Developer
Posts: 107
Registered: ‎02-10-2012
My Device: Limited Developer Edition
My Carrier: WiFi

ERROR Failed to find WebWorks Archive

Hello, im trying to pack and application via command prompt following this doc... THIS

 

And i get this error.. FAILED TO FIND WEBWORKS ARCHIVE.

 

[INFO]      		Parsing command line options
[ERROR]     		Failed to find WebWorks archive

Heres my zip structure...

Root

   *JS

   *IMG

   *Index.htm

   *Config.xml

 

PS: Im using windows.

If i've helped you use the like button (KUDOS)!
Follow me at twitter: @hektorc
Read my blog: http://hektor.in
Check my GitHub: github.com/hektorcyc
Regular Contributor
Posts: 81
Registered: ‎03-09-2012
My Device: PlayBook & Bold 9780
My Carrier: n/a

Re: ERROR Failed to find WebWorks Archive

[ Edited ]

I'd say the "webworks archive" is the .zip file.

Have you specified it's complete path?

Does that contain a space? Then that needs to be within quotes.

E.g.

bbwp "C:\Documents and settings\myapp\myarchive.zip" -d -o "C:\Documents and settings\myapp\output"

 

Developer
Posts: 107
Registered: ‎02-10-2012
My Device: Limited Developer Edition
My Carrier: WiFi

Re: ERROR Failed to find WebWorks Archive

The error was fixed just changed the file name from Sample.zip to test.zip so weird...

 

Anyway thanks!

If i've helped you use the like button (KUDOS)!
Follow me at twitter: @hektorc
Read my blog: http://hektor.in
Check my GitHub: github.com/hektorcyc
Highlighted
Regular Contributor
Posts: 81
Registered: ‎03-09-2012
My Device: PlayBook & Bold 9780
My Carrier: n/a

Re: ERROR Failed to find WebWorks Archive

I just read in another post that somewhere in the code they do a .toLower() on the passed file name.

That bug could explain why it fails on Mac. Windows is case insensitive, but the Apple OS is case sensitive on file names.

So a zip file in all lowercase should work.