Hi Elliot. Thats great. Developers for any non trivial apps anyways use grunt. So a grunt task like "grunt apk", like the one you already did for xpk/wgt in "grunt tizen" would be very helpful and totally in line with the workflow.
So does this work also include a wrapper over adb for push/install/start/debug/etc .. or does it just helps in creating the apk package ? -Riju. From: Crosswalk-dev [mailto:crosswalk-dev-bounces at lists.crosswalk-project.org <https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev>] On Behalf Of Smith, Elliot Sent: Thursday, November 28, 2013 3:40 PM To: crosswalk-dev at lists.crosswalk-project.org <https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev><mailto:crosswalk-dev at lists.crosswalk-project.org <https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev>> Subject: [Crosswalk-dev] Intent to Implement better apk packaging tools Description: apk generation tools for Crosswalk Android which are faster, better documented, less fragile, better tested, more familiar to web developers, and can integrate with their workflows more easily. Affected component: make_apk.py and related scripts in xwalk-android distributions zip file; though I will work in parallel rather than replacing them Related feature: no specific feature is in Jira; this is a parallel effort in the first instance Target Release: generic across Crosswalk and Android SDK versions as far as possible; I've tested with 1.*, 2.* and 3.* versions of Crosswalk Android so far, and versions 18 and 19 of the Android SDK tools, building on Linux and Windows hosts. Implementation details: Implementation will be done in nodejs. Eventually I plan to provide grunt tasks so the tools can fit web developer workflows more naturally. I aim to replicate make_apk.py as closely as possible, as well as write some tools to download and unpack the latest Crosswalk Android zip file. I will try to remove as much of the indirection in the current scripts as possible (python make_apk.py > python ant.py > ant > aapt could be replaced with JavaScript > aapt, for example). I will try to do a better and more efficient job of locating tool and file dependencies, give more intelligible error messages when stuff breaks, and provide more flexibility about where build artefacts are put. The design will also allow for presenting an API which can be reused in other applications (e.g. converting an xpk to an apk). I will document and test more thoroughly than is done for the existing code base (API docs, API usage examples, better help messages from cli tools). Elliot
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
