[TIMOB-3287] Android: Implement Fastdev mode for quicker turnaround
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-04T03:12:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-15 |
Components | Android |
Labels | android, feature, release-1.7.0 |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:41:19.000+0000 |
Updated | 2011-05-04T03:12:18.000+0000 |
Description
The current round trip build time for making and testing changes in Android is very slow. Using an HTTP server, we should be able to skip the deployment process altogether.
(from [b17b1e292b211f77f1c075e09ef38d3d35de78d3]) initial commit of new Android fastdev mode. synopsis: - Any changes made to files under Resources are seen immediately the next time those file(s) are requested in the app. - A python based TCP server that serves up files from Resources, and can be controlled from command line (and also allows remote killing of the connected app) - A Fastdev controller in Java that is a delegate for TiResourceFile. In Fastdev mode, most files under Resources will be directly requested from the Fastdev TCP server. - In "development" deploy mode (i.e simulator), Fastdev is on by default. This can be controlled with a boolean tiapp.xml property "ti.android.fastdev" - A new global deploy metadata file called "/sdcard//deploy.json" is used for controlling per-deployment properties such as debugger, and fastdev - When Fastdev is enabled but the server connection fails, a warning shows at Application boot time - For any JS runtime or compile errors, a new "Reload" button has been added to the error dialog that will attempt to Reload the code after changes have been made [#3287] https://github.com/appcelerator/titanium_mobile/commit/b17b1e292b211f77f1c075e09ef38d3d35de78d3"> https://github.com/appcelerator/titanium_mobile/commit/b17b1e292b21...
(from [b76628b8623b8243a315b23b961d112b672a7dba]) fix a bug when app stylesheets are being used in conjunction with fastdev [#3287]
https://github.com/appcelerator/titanium_mobile/commit/b76628b8623b8243a315b23b961d112b672a7dba"> https://github.com/appcelerator/titanium_mobile/commit/b76628b8623b...
Related: https://github.com/appcelerator/titanium_mobile/commit/dee2fb3192657081e1696a1cb55504ef2fb740aa
See confirmation sub-task comments for issues.
See final comment on linked test/confirmation item for summary of tests.