Good proposal, thanks. I hope it can evolve in such a way that we can distribute Crosswalk tools for all supported platforms in a similar way, at the moment one has to get the packager for Android from the zip file, for Tizen from the source tree.
From: Crosswalk-dev [mailto:[email protected]] On Behalf Of Smith, Elliot Sent: Thursday, November 28, 2013 3:40 PM To: [email protected] 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 -- Elliot Smith Senior Software Engineer Intel Open Source Technology Centre --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
