{ "id": "138401", "key": "TIMOB-17990", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-04-08T20:12:50.000+0000", "created": "2014-10-22T21:27:02.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-4.0.0", "qe-manualtest" ], "versions": [], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2017-03-21T20:45:50.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "After an app is build onto simulator/device or even packaged, then in order to get the CLI command, we need to enable the troubleshooting preferences and then, have to re-run the command and then, find out the command from the inundated flow of logs.\r\n\r\nStudio has to print the CLI build command (ideally before the process output) in the console view. It will make it easier to grab the command from console view.", "attachment": [], "flagged": false, "summary": "Print the CLI build command in the console view", "creator": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 373, "state": "closed", "name": "2015 Sprint 07 Tooling", "startDate": "2015-03-28T00:00:53.618Z", "endDate": "2015-04-25T00:00:00.000Z", "completeDate": "2015-04-13T16:16:20.402Z", "originBoardId": 121 }, { "id": 265, "state": "closed", "name": "2014 Sprint 24 Tooling", "startDate": "2014-11-24T17:45:54.359Z", "endDate": "2014-12-06T02:47:00.000Z", "completeDate": "2014-12-08T17:25:44.396Z", "originBoardId": 121 }, { "id": 235, "state": "closed", "name": "2014 Sprint 22 Studio", "startDate": "2014-10-27T15:59:35.950Z", "endDate": "2014-11-08T02:30:00.000Z", "completeDate": "2014-11-10T06:04:44.247Z", "originBoardId": 113 } ], "comment": { "comments": [ { "id": "329067", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is an alternate suggestion (which may be easier/more useful);\r\n\r\nAdd a 'ti history' command that shows the last X commands executed by the CLI. This would take interactively prompted commands (what do you want to build: app or module?) and turn that into a complete command using appropriate switches.\r\n\r\nWe would need to add a flag to allow the CLI NOT to save a history item for things like studio calling 'ti info'\r\n\r\nFinally, we would need to strip passwords from the output.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-22T21:39:55.000+0000", "updated": "2014-10-22T21:39:55.000+0000" }, { "id": "329093", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "{code}\r\nthat genius Malcolm suggested this\r\n{code}", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-22T23:15:47.000+0000", "updated": "2014-10-22T23:15:47.000+0000" }, { "id": "333621", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-25T14:43:36.000+0000", "updated": "2014-11-25T14:43:36.000+0000" }, { "id": "334231", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~skypanther] The PR is merged against the master. Would you like to port it back to 3_5_X branch ?", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-01T22:59:49.000+0000", "updated": "2014-12-01T22:59:49.000+0000" }, { "id": "334585", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "[~pinnamuri] Here you go https://github.com/appcelerator/titanium_mobile/pull/6416 ", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-12-03T18:44:53.000+0000", "updated": "2014-12-03T18:44:53.000+0000" }, { "id": "334811", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The CLI build command is shown in the studio console view for Publish, Profile As, Debug As, Run As and Test As actions in Studio.\r\nHowever, following are few issues noticed in the command shown in the studio console logs:\r\n1. There is a invalid flag \"--no-color\" in the end for each command. The correct \"--no-colors\" flag is already present near the start of the command\r\n2. The \"--sdk\" flag is shown twice\r\n3. In all of the possible build actions other than Publish, the flag \"--skip-js-minify\" flag is twice\r\nRefer to the below example output from running a project on android device\r\n{code}\r\ntitanium --sdk 3.5.0.v20141203160911 --no-colors --no-progress-bars --no-prompt build --platform android --log-level trace --sdk 3.5.0.v20141203160911 --project-dir /Users/Tester/Documents/Appcelerator_Studio_Workspace/testProject --target device --android-sdk /Users/Tester/Library/android-sdk-macosx --device-id ZX1G2233HP --skip-js-minify --skip-js-minify --no-color\r\n{code}\r\n\r\nTested on:\r\nSDK: 3.5.0.v20141203160911\r\nStudio: 3.4.1.201410281743\r\nCLI: 3.4.1\r\nAlloy: 1.5.1\r\nOS: Mac OSX 10.10.1", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-04T10:29:31.000+0000", "updated": "2014-12-04T10:29:31.000+0000" }, { "id": "334831", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "3_5_X PR https://github.com/appcelerator/titanium_mobile/pull/6429\r\nmaster PR https://github.com/appcelerator/titanium_mobile/pull/6430", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-12-04T15:03:35.000+0000", "updated": "2014-12-04T15:03:35.000+0000" }, { "id": "336946", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs contain the changes to write the build log file (includes the changes for TIMOB-12169). However, due to a few reported issues (TISTUD-7089 and TISTUD-7088), the changes for TIMOB-12169 are backed out from 3_5_X branch.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-18T01:18:52.000+0000", "updated": "2014-12-18T01:18:52.000+0000" }, { "id": "338137", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Following issues are seen with build commands in Console:\r\n1. While publishing (i.e. package) a project in Studio for MobileWeb, the flag \"--deploy-type\" is repeated.\r\n2. While building a project for Debug, Run, Test or Profile action, the \"--skip-js-minify\" is repeated\r\n\r\nTested on:\r\nSDK: 3.5.0.v20150106150919\r\nStudio: 3.4.1.201410281743\r\nCLI: 3.4.1\r\nAlloy: 1.5.1", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-07T05:26:59.000+0000", "updated": "2015-01-07T05:26:59.000+0000" }, { "id": "338279", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ssekhri] Can you create a separate ticket for handling the duplicate flags ? The expected functionality is already achievable with the current changes and those minor issues can be handled through a different ticket.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-07T23:43:36.000+0000", "updated": "2015-01-07T23:43:36.000+0000" }, { "id": "338793", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Feature implemented and validated. Closing.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-13T00:45:23.000+0000", "updated": "2015-01-13T00:45:23.000+0000" }, { "id": "344100", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Reopening ticket as when building with the below the build command and system info is not printed in the console. However when building with a 3.5.1 SDK the build command and system info are printed.\r\n\r\nMac OSX 10.10.2, Windows 8.1\r\nAppcelerator Studio, build: 3.4.2.201502181619\r\nTitanium SDK build: 4.0.0.v20150220105635\r\nTitanium CLI, build: 3.6.0-dev\r\nAlloy: 1.5.1\r\n\r\n", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-02-21T02:10:23.000+0000", "updated": "2015-02-21T02:10:23.000+0000" }, { "id": "346675", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/6735\r\n4_0_X: https://github.com/appcelerator/titanium_mobile/pull/6734", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-03-20T08:04:38.000+0000", "updated": "2015-03-20T08:04:38.000+0000" }, { "id": "414386", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T20:45:50.000+0000", "updated": "2017-03-21T20:45:50.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }