{ "id": "121986", "key": "TIMOB-15647", "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": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15709", "description": "2013 Sprint 23 Core", "name": "2013 Sprint 23 Core", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-04T09:26:52.000+0000", "created": "2013-11-03T05:38:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "module_android", "qe-closed-3.2.0", "qe-manualtest", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-11-19T19:20:17.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Steps to reproduce:\r\n\r\n1. Build a development build of the app \"ti build -p android -T device --deploy-type development\"\r\n2. Build a normal device build (which is encrypted)\"ti build -p android -T device\"\r\n3. Unzip the apk under build/android/bin/yourapp.apk\r\n\r\nExpected:\r\nThe js files under resource should not be included since they are encrypted\r\n\r\nActual:\r\nThe js files are found in the apk", "attachment": [], "flagged": false, "summary": "Android: CLI: Incremental builds causes js files to be included in encrypted builds", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "277924", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4905", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-04T07:13:38.000+0000", "updated": "2013-11-04T07:13:38.000+0000" }, { "id": "277929", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run:\n\n{code}\nti clean\nti build -p android --deploy-type development\nti build -p android\n{code}\n\nThen we verify there are no unencrypted .js files in the build resources dir:\n\n{code}\nls -l build/android/bin/assets/Resources/*.js\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-04T07:56:13.000+0000", "updated": "2013-11-04T07:56:13.000+0000" }, { "id": "278791", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\nCLI 3.2.0 (git://github.com/appcelerator/titanium.git)\nAlloy 1.3.3\nTitanium SDK, build: 3.2.0.v20131107161747\n\nThere is no unencrypted .js files in the build resources dir.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-08T18:42:43.000+0000", "updated": "2013-11-08T18:42:43.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }