On 27 August 2014 00:26, Spencer, Bob <bob.spen...@intel.com> wrote:

>  Description:
>
> There are a handful of things I’d like to improve in the current python
> build/bundle scripts.  Specifically:
>
>                 - Allow make_apk.py to be runnable from any directory, not
> just from the crosswalk directory
>
>                 - Improve the language and printed output from the scripts
>
>                 - Create the temporary directories in the system “temp”
> location so if the script is interrupted they don’t clutter the crosswalk
> source directory
>
>
I think we should take the time to think carefully about what we're doing
with apk generation tools, rather than just piling more work into the
existing scripts.

The existing scripts are fragile, difficult to debug, difficult to follow,
and hard to refactor. My own opinion is that we should replace them, or at
least make them maintainable.

Personally, I would prefer a tool closer to Cordova: i.e. a "Crosswalk app
skeleton" generator which uses the Android SDK to do the build. Thiago has
done some work in this area, but I would like to suggest it's made
"official".

I'd also like it to be very similar to Cordova (i.e. written in JavaScript,
installable via npm), as I think this will appeal to web devs; but this
part isn't vital.

At the very least, the make_apk.py script and friends should be separated
from the Crosswalk source tree and made into a standalone project, with
proper process around them (i.e. QA, releases, automated test suite).

Elliot
-- 
Elliot Smith
Senior Software Engineer
Intel Open Source Technology Centre
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to