Smith,
Thanks for your proposal. Using nodejs is very popular, for example Cordova. 
I’m ok and glad to add this kind of support for crosswalk. Some questions:

1)       Is it possible to use this for both Android and Tizen ports? I believe 
it’s important.

2)       Could you please explain a little bit more about grunt and related 
tools? I know it’s used widely for 01.org web apps.  If possible, it’ll be 
appreciated if you can write a document to describe how it works technically.

3)       I suggest to use JIRA to track all of these items.

4)       According to my experience, it’s better to split your task into 
several PRs instead of working out a big solution(patch) internally. We can 
review them one by one and provide feedbacks.

Yongsheng

From: Crosswalk-dev [mailto:[email protected]] 
On Behalf Of Balestrieri, Francesco
Sent: Thursday, November 28, 2013 10:00 PM
To: Smith, Elliot; [email protected]
Subject: Re: [Crosswalk-dev] Intent to Implement better apk packaging tools

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]<mailto:[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

Reply via email to