Agree with you. lgtm. thanks. Yongsheng
From: Wu, Donna Sent: Monday, January 20, 2014 3:57 PM To: Balestrieri, Francesco; Smith, Elliot; Waterman, Max; Zhu, Yongsheng; Chen, Jacob Cc: crosswalk-dev@lists.crosswalk-project.org Subject: RE: Intent to Implement - Build WebApps with Eclipse for Crosswalk on Android Hi, Francesco: Thanks for reminding. Firstly, I want to explain the current status of the Intent. Currently, I have initialized an Eclipse plugin that including create and export Crosswalk project. There is no overlap with current packaging tools both by python and node.js because I just invoked python packaging tool in the plugin. In the future, if the default packaging tool move to node.js version we just need to change the invoked tools. On the other hand, we want to extend capability of the plugin in future, including exporting XPK package for Tizen or other targets based on the command-line tools, like make_xpk.py. So, in this way, we are integrating all the command-line tools together, expanding the use scenarios of the command-line tools, no doing the repeated work. In the developing process, we can help to improve the command-line tools, because we are using the tools in different ways. Yongsheng, please correct me if I have missed anything. Thanks! --Donna From: Balestrieri, Francesco Sent: Monday, January 20, 2014 1:08 PM To: Wu, Donna; Smith, Elliot Subject: FW: Intent to Implement - Build WebApps with Eclipse for Crosswalk on Android Hi Donna, Elliot, there were some comments on the mailing list about this feature, but I'm not sure they were resolved. Did you agree on a way forward? Francesco From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] On Behalf Of Wu, Donna Sent: Wednesday, December 25, 2013 8:10 AM To: crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org> Subject: [Crosswalk-dev] Intent to Implement - Build WebApps with Eclipse for Crosswalk on Android Description: Currently, web developers can only use command-line tools to package their Crosswalk WebApps, e.g. make_apk.py for Android. Our goal is to enable building crosswalk WebApps in Eclipse. With this feature, developers create an Crosswalk project and edit the Web stuff in Eclipse then be exported as a required package, for example "*.apk" for Android. This feature can be extended to all platforms in the feature, but we want to enable it for Android for the first step. Affected component: It will be a sub-project under crosswalk-project, so no component in current Crosswalk repo will be affected. Related feature: (Jira ID) https://crosswalk-project.org/jira/browse/XWALK-636 Target Release: (Crosswalk N) Crosswalk 5 Implementation details: The general idea is that, we provide an Eclipse plugin to add a new project type. Developer need to download the plugin and then can create the new type of project(crosswalk project), the project can be edited and then packaged to signed APK. As we need to use libs and tools from Android SDK, so our Eclipse plugin need Android SDK as its precondition. So ADT bundle version or Eclipse and ADT plugin version will be required by the plugin. 1. stand-alone project type -- (required) Just a expose the web stuff to the developer, use Crosswalk manifest.json for project configuration. The directory tree of the new project just like XPK package. Developer will not see generated Activity, cannot edit Java code, they can only edit the web stuff in Eclipse. Web stuff will be wrapped with Java code when packaging and exporting the project. 2. embedded or shared mode supporting -- (required) developers can select which mode they want to package the project in an exporting dialog. For embedded mode, developer need to specify needed resources and libs from local disk or maybe an on-line version. 3. supporting Crosswalk permissions -- (required) Crossealk manifest.json will be used to configure the project, Crosswalk permissions will be used to authorize special access ability to WebApp, and these used permissions will be recorded in manifest.json and will be mapped to Android permission after wrapping and packaging the project. Currently the map haven't be determined yet, but we will catch up the newest map. 4. different arch supporting -- (x86 required, arm Low priority) this just make sense to embedded mode. All possible options will be listed for selection in the exporting dialog. Error will be through if the required crosswalk library cannot be found in the specified resource and libs directory described in item 2. 5. various application source supporting option1: new project created from Eclipse -- (required) option2: import from a local directory with manifest.json -- (required) option3: import from XPK package -- (low priority) 6. external crosswalk extension supporting -- (Low priority) developers need to specify external crosswalk extensions when creating the project. First step, we will just support compiled extension(directory with *.js, *.jar, *.json), in the future raw Java files may be supported.
_______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev