Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3287] Android: Implement Fastdev mode for quicker turnaround

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-04T03:12:18.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-15
ComponentsAndroid
Labelsandroid, feature, release-1.7.0
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T03:41:19.000+0000
Updated2011-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.

Comments

  1. Marshall Culpepper 2011-04-15

    (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...

  2. Marshall Culpepper 2011-04-15

    (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...

  3. Bill Dawson 2011-04-18

    Related: https://github.com/appcelerator/titanium_mobile/commit/dee2fb3192657081e1696a1cb55504ef2fb740aa
  4. Bill Dawson 2011-04-28

    See confirmation sub-task comments for issues.
  5. Bill Dawson 2011-05-04

    See final comment on linked test/confirmation item for summary of tests.

JSON Source