I think it's worth investigating and having a working prototype but would caution against immediately merging in until different folk have had a chance to play with it and make sure our end-user dev experience is cool.
On 12/5/12 12:02 PM, "Gord Tanner" <[email protected]> wrote: >Correct. This would be for any cordova BlackBerry 10 APIs (not external >plugins). > >This will allow us the native compile step for Cordova that we don't have >access to with WebWorks (that other platforms have). > >The key for this is flexibility. Nothing is changing with this now but >allows us more tools to support BlackBerry 10 Cordova in the future. > > >On Wed, Dec 5, 2012 at 2:53 PM, Drew Walters <[email protected]> wrote: > >> Making sure I understand the steps: >> >> 1. User downloads and installs BlackBerry 10 Native SDK and Cordova. >> 2. Executing the create script to create a project will somehow >>determine >> if the user has the WebWorks SDK and if not... >> 3. Clone the WebWorks SDK using git. >> 4. Build the WebWorks SDK. >> 5. Update the project.properties for the project to point at the built >> WebWorks SDK. >> >> I would prefer to not dynamically clone and build the WebWorks SDK as >>part >> of Cordova project creation, seems like that could be prone to issues. >> >> I would tend to think the majority of developers would not be building >> custom plugins for their application. Would the native SDK be required >>by >> Cordova end developers if Cordova for BlackBerry 10 contains some native >> (C++) plugins? >> >> >> On Wed, Dec 5, 2012 at 1:05 PM, Gord Tanner <[email protected]> wrote: >> >> > Currently for developing for BlackBerry 10 the user needs to download >>and >> > install the WebWorks SDK. [1]. >> > >> > This SDK is opensource and available from github [2] and users are >>able >> to >> > clone and build the SDK with the native development tools available >>[3]. >> > >> > I would like to switch the BlackBerry 10 platform for cordova to use >>the >> > NDK and clone WebWorks from github. The only difference a cordova >> > developer would notice would be what download we tell them to install >>in >> > the documentations, everything else would be handled by the >>./bin/create >> > script and ./cordova/* scripts pointing where the WebWorks SDK lives. >> > >> > This preps us to have the tools available on the developers machine to >> > build any native extensions that may or may not be needed for >>BlackBerry >> 10 >> > development. >> > >> > [1] https://developer.blackberry.com/html5/download/ >> > [2] https://github.com/blackberry/BB10-Webworks-Packager >> > [3] http://developer.blackberry.com/native/beta/ >> > >>
