Cannot compile an unsigned blackberry webworks archive

143 views
Skip to first unread message

vikky

unread,
Sep 20, 2011, 3:16:20 PM9/20/11
to phonegap
Hi

I wanted to test Blackberry project in phone gap 1.0. I
downloaded the latest phonegap 1.0 and copied the sample folder from
BlackBerry-WebWorks and archived it. i changed the project.properties
file. and ran the following command. I get this error.

c:\BBWP>bbwp C:\dev\testinggg\sample\sample.zip
[INFO] Parsing command line options
[ERROR] Failed to find application archive

Interesting thing is there is no config.xml file present in the root
folder. But its present in the www folder.

so i copied the config.xml from www folder to the folder above it and
ran the same command. this time i got a different error

c:\BBWP>bbwp C:\dev\testinggg\sample\sample.zip
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating application archive
[INFO] Parsing config.xml
[WARNING] Failed to find the <author> element
[INFO] Populating application source
[ERROR] Feature cannot be found in any
extension(phonegap)

what is the reason for the error Why would phone gap sample project
would have given such a folder structure. but the same folder
structure works in simulator.

I really need to figure this out. Need help....


Drew Walters

unread,
Sep 20, 2011, 4:14:18 PM9/20/11
to phon...@googlegroups.com
The sample project is setup to be built using Ant.  If you look at the sample folder you'll notice that there is a build.xml file located there.  The build.xml contains several predefined targets that make it easy to build the project, launch the simulator, load the device, etc.

If you want to manually build via the command line and bbwp, then just zip the contents of the www folder and use that with your bbwp command.

--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com

Reply all
Reply to author
Forward
0 new messages