{ "id": "62919", "key": "TIMOB-2287", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:39.000+0000", "created": "2011-04-15T03:15:41.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "drillbit" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

There are several instances where it fails.

\n

1) If the app is on emulator, it never seems to pick up\nchanges.
\n2) It doesn't detect that you've scons'd

\n

To work around I used the following two command lines in\nOSX.

\n
\nadb -e uninstall org.appcelerator.titanium.testharness && scons && drillbit/drillbit.py --android -force -build\n
\n

and to just do a test change

\n
\nadb -e uninstall org.appcelerator.titanium.testharness && drillbit/drillbit.py --android -force -build\n
\n

this takes much longer than it should so fewer roundtrips are\npossible in a given timeframe.

{html}", "attachment": [], "flagged": false, "summary": "DrillBit: Build Doesn't Detect Changes", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128029", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

FYI, the correct argument for forcing is --android-force-build\n(it's one argument)

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:41.000+0000", "updated": "2011-04-15T03:15:41.000+0000" }, { "id": "128030", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [332d3097324f88886b06b63848feef16448600ed])\nmore fixes and features for drillbit: run tests from the actual\ndrillbit/tests folder instead of staging them before the app runs.\nalso stage python scripts and allow each platform to stage binaries\n/ source in the SDK between test runs. the drillbit UI also now\nreloads all tests everytime the \"run tests\" is clicked, which\nshould pick up new / changed suites and tests [#2283\nstate:fixed-in-qa] [#2287 state:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/332d3097324f...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:41.000+0000", "updated": "2011-04-15T03:15:41.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }