Error Failed To Find Webworks Archive
· Sign In · Help CommunityCategoryBoardDeveloper ResourcesUsers turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for Search instead for Do you mean All New Topics | All New Posts Device Support Forums PRIV™ PRIV™ BlackBerry® 10 Devices BlackBerry® Leap BlackBerry® Classic BlackBerry® Passport BlackBerry® Z30 BlackBerry® Z10 BlackBerry® Z3 BlackBerry® Q10 BlackBerry® Q5 Porsche Design P’9982 smartphone from BlackBerry® Porsche Design P’9983 smartphone from BlackBerry® BlackBerry® 10 Functions and Features BlackBerry® 10 Accessories Device Switch Help BlackBerry® 10 Software BlackBerry® 10 OS Device Software BlackBerry® Blend BlackBerry® Link Downloaded Applications BBM BBM BlackBerry® OS Smartphones BlackBerry® Torch BlackBerry® Bold BlackBerry® Tour BlackBerry® Storm BlackBerry® Curve BlackBerry® Pearl Other BlackBerry® Devices BlackBerry® OS Software BlackBerry® Desktop Software BlackBerry® Device Software Downloaded Applications BlackBerry® Tablet BlackBerry® Playbook Developer Forums Developer Community Home Welcome & Introductions Social Lounge Application Announcements Applications Platform Good Dynamics Development Native Development Web and Webworks Development Enterprise App Architecture Android™ Development Java Development Testing and Deployment BlackBerry Web Services BlackBerry® Themes and Animated Graphics Adobe AIR Development Services for Developers BlackBerry® Advertising Service BlackBerry® World Development BlackBerry® Push Development Payment Service Developer Support : Application Platforms : Web and WebWorks Development : ERROR Fa
Sign in Pricing Blog Support Search GitHub This repository Watch 19 Star 275 Fork 55 blackberry/WebWorks Code Issues 71 Pull requests 4 Projects 0 Wiki Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags master next Nothing to show v2.3.1 v2.2 Nothing to show Find file Copy path WebWorks/packager/src/net/rim/tumbler/log/resources/MessageBundle_en_CA.properties Fetching contributors… Cannot retrieve contributors at this time Raw Blame History 82 lines https://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/ERROR-Failed-to-find-WebWorks-Archive/td-p/1797561 (82 sloc) 6.82 KB # Copyright 2010-2011 Research In Motion Limited. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # https://github.com/blackberry/WebWorks/blob/master/packager/src/net/rim/tumbler/log/resources/MessageBundle_en_CA.properties # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. BBWP_USAGE = bbwp version {0}\tCopyright(C) 2010-2011 Research In Motion\n\t\t\thttp://www.blackberry.com/developers/webworkssdk/\n\nbbwp [drive:][path]archive [-s [dir]] [-g [password]] [-o dir]\n\narchive\t\t\tSpecifies the .zip file to compile\n-s\t\t\tSave source. The default behaviour is to not save the source files. If dir is specified then creates dir\\src\\ directory structure. If no dir specified then the path of archive is assumed\n-g\t\t\tSign the .cod file after compilation using password. If both -g and password are not present then the .cod will not be signed. If -g is present and password is not, Signature Tool will prompt for entering password\n-o\t\t\tRedirects output file location
quickest way to get an app up and running would be to take the examples from BlackBerry. Working from https://github.com/blackberry/WebWorks-Samples/tree/master/UIExamples I first did a git clone, but then http://www.andrewsavory.com/blog/2012/2278 reading the documentation I downloaded a zip of the UI examples instead. The https://groups.google.com/d/topic/phonegap/uPjhneW-rIc documentation talks about downloading a zip, unarchiving it, shuffling things around, and rearchiving it. The first problem I came across (on a Mac) doing this was Apple's resource forks screwing up the zip: Invalid application archive: resource name is not valid(__MACOSX/UIExamples/._bbmBubbles.htm Next up, another packaging problem: despite following the documentation (or so I error failed thought), I could not get bbwp to build my package: Invalid application archive - failed to find config.xml It turns out I was doing it wrong – the config.xml needs to be at the same level as the containing folder (http://stackoverflow.com/questions/4433092/package-my-first-blackberry-widget-xml-file-not-found). A tweak to the layout and then: zip -r UIExamples.zip UIExamples config.xml That fixed the packaging problem (both with missing files and with Mac resource error failed to forks). The next error I got was "Spinner not found": There's quite a few extra steps you need to go through to add the UI Spinner extension, which can be summed up as: download the SpinnerControl zip extract the zip create the /Developer/SDKs/Research In Motion/BlackBerry WebWorks SDK 2.3.0.9/ext/blackberry.ui.Spinner directory copy the library.xml file into that directory copy the blackberry-WebWorks-Community-APIs-4d7c20a/Smartphone/SpinnerControl/src/blackberry folder into the ext/blackberry.ui.Spinner directory. Phew. The packaging will then work: BlackBerry WebWorks application packaging complete I think there's some optimisation that could be done on this process. In general the WebWorks development seems to involve a lot of copying files here and there. One thing that wasn't clear was where the output package went. I was running ./bbwp /Users/savs/Downloads/blackberry-WebWorks-Samples-0a5693e/UIExamples.zip … but although it declared success, I could find no output. So don't do this. It turns out you need to add -o (picked up from Lukasz‘ excellent presentation on differences between Enyo and WebWorks): ./bbwp /Users/savs/Downloads/blackberry-WebWorks-Samples-0a5693e/UIExamples.zip -o /tmp/ This gives two folders, OTAInstall and StandardInstall, which contain a bunch of files with .cod, .jad, .cso, .csl, .alx extensions. No idea what these are – I guess I'll find out as I continue to explore. Now I've got a pa
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen