01-25-2011 03:47 AM
Hi All,
I need help in running sample PlayBook application (http://docs.blackberry.com/en/developers/deliverab
I need your help in compiling the application by using the following syntax:
bbwp <drive
<path><archive> [/s <path>] [/o <path>]
What should I mention in “<drive
<path><archive>” ?
At present I have mentioned .ZIP file name but its giving error "Invalid Webworks Archive".
Please suggest whats going wrong.
Solved! Go to Solution.
01-25-2011 03:52 AM
It should be something like
"C:\Program Files\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\bbwp.exe" "build\YourArchive.zip" /o "build/" /d /v "C:\Program Files\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\blackberry-tablet-sdk\bin\blackberry-deploy" -password pass -installApp -device 192.168.56.128 -package "build\YourArchive.bar"
Change the "build\YourArchive.zip" to your archive relative path to the active directory, or just use the absolute path. And don't forget to enable the development mode in your PB Simulator.
Hope this help..
01-25-2011 04:45 AM
Thanks for immediate reply.
I have tried the way you have mentioned in your message, but no luck yet. Its still giving same error i.e. [INFO] Parsing command line options
[ERROR] Invalid WebWorks archive - archive name is not valid
We used following command :
C:\Program Files\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\ bbwp "E:\BB Workspace\sketchPad_Eclipse.zip" /o "E:\BB Workspace" /d /v
01-25-2011 05:28 AM
Well, if you use that file, it will contains .settings folder and .project file by default. delete those files from the archive and recompile. It should work : )
01-25-2011 06:04 AM
Hi,
Thanks alot, it worked. May I know the reason why we have to delete these 2 files?
01-25-2011 06:21 AM