{ "id": "123605", "key": "TIMOB-15961", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-08-14T17:51:36.000+0000", "created": "2013-12-11T20:54:02.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ft", "qe-3.2.0", "regression" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "34075", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "123700", "key": "TIMOB-15987", "fields": { "summary": "Code Processor: Running titanium-code-processor using CLI throws error", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34363", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "120124", "key": "TIMOB-15260", "fields": { "summary": "Code Processor: Titanium or Ti are not defined, analyzing code via CLI", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T17:10:32.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" }, { "id": "13102", "name": "Code Processor", "description": "Analyzes JavaScript source" } ], "description": "h5.Description\r\nRunning \"ti analyze\" inside of a project directory will prompt asking for a deployment target. No matter which deployment target is chosen, the code processor will say it doesn't exist.\r\n\r\n{code}\r\nTarget platform to build for:\r\n 1) android\r\n 2) blackberry\r\n 3) ios\r\n 4) mobileweb\r\n 5) tizen\r\nEnter # or platform name: 1\r\n \r\n[ERROR] Unable to find platform configuration for \"android\"{code}\r\n\r\nh5.Steps To Reproduce\r\n1. Create a project in Appcelerator Studio\r\n2. Open Terminal\r\n3. Move into the project directory\r\n4. Run \"ti analyze\"\r\n5. Choose a target platform", "attachment": [ { "id": "49449", "filename": "log.txt", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-02T19:48:45.000+0000", "size": 2715, "mimeType": "text/plain" }, { "id": "44619", "filename": "sample.options", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-16T03:54:49.000+0000", "size": 2180, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Code Processor: Cannot analyze for any platform through CLI", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9 Mavericks\r\nTitanium-Code-Processor: 1.1.0-cr\r\nCLI: 3.2.0-cr\r\nTitanium SDK, build: 3.2.0.v20131210191510", "comment": { "comments": [ { "id": "284025", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "need environment info and regression info.", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T18:44:04.000+0000", "updated": "2013-12-12T18:44:04.000+0000" }, { "id": "284045", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on:\nMac OSX 10.9 Mavericks\nTitanium-Code-Processor: 1.0.0\nTitanium SDK, build: 3.1.3.GA\nCLI: 3.1.2\n\nRunnning the command \"titanium-code-processor analyze --osname=\" worked for all platforms except Tizen.\nTizen is not an option in version 1.0.0.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T19:15:54.000+0000", "updated": "2013-12-12T19:15:54.000+0000" }, { "id": "284391", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The command that Studio runs for code analyzer is the following:\n\n{code}\n\"/usr/local/bin/titanium\" \"--no-colors\" \"--no-progress-bars\" \"--no-prompt\" \"--no-banner\" \"analyze\" \"-o\" \"stream\" \"-F\" \"/Users/mxia/Documents/Appcelerator_Studio_Workspace 3.2.0/.metadata/.plugins/com.appcelerator.titanium.codeprocessor.core/analyzer7173935206727179441.options\"\n{code}\n\nThe .options file contains all the info and options for code analyzer to run. Attached one.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-16T03:54:28.000+0000", "updated": "2013-12-16T03:54:28.000+0000" }, { "id": "292332", "author": { "name": "jkneen", "key": "jkneen", "displayName": "Jason Kneen", "active": false, "timeZone": "Africa/Ceuta" }, "body": "Workaround above doesn't work on 3.2.1\n\nI try:-\n\ntitanium-code-processor analyze --osname=ios\n\nand get\n\nTitanium Code Processor version 1.1.0\nCopyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.\n\nRun \"titanium analyze\" to use the Titanium Code Processor\n\n", "updateAuthor": { "name": "jkneen", "key": "jkneen", "displayName": "Jason Kneen", "active": false, "timeZone": "Africa/Ceuta" }, "created": "2014-02-11T10:53:48.000+0000", "updated": "2014-02-11T10:53:48.000+0000" }, { "id": "292364", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Did you try the workaround as noted? You need to run \"titanium analyze\" now, not \"titanium-code-processor\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-11T15:26:21.000+0000", "updated": "2014-02-11T15:26:21.000+0000" }, { "id": "292365", "author": { "name": "jkneen", "key": "jkneen", "displayName": "Jason Kneen", "active": false, "timeZone": "Africa/Ceuta" }, "body": "I was following Samuel's guide which didn't work. Is Michael's the correct workaround?", "updateAuthor": { "name": "jkneen", "key": "jkneen", "displayName": "Jason Kneen", "active": false, "timeZone": "Africa/Ceuta" }, "created": "2014-02-11T15:30:16.000+0000", "updated": "2014-02-11T15:30:16.000+0000" }, { "id": "292403", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, Michael's should be the correct approach.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-11T18:01:39.000+0000", "updated": "2014-02-11T18:01:39.000+0000" }, { "id": "312129", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened, using\r\nMac osx 10.9.4 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201406231625\r\nTitanium SDK, build: 3.3.0.v20140701114913 \r\nNode.JS Version: v0.10.28 \r\nNPM Version: 1.4.9 \r\nacs@1.0.15 \r\nalloy@1.4.0-rc3\r\nnpm@1.4.9 \r\ntitanium@3.3.0-rc4 \r\ntitanium-code-processor@1.1.1\r\n\r\nPlease see the log.txt\r\nError is generated running \r\n{code}\r\nti analyze -p android (e.g.)\r\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-02T19:49:55.000+0000", "updated": "2014-07-02T19:49:55.000+0000" }, { "id": "318692", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We will not be supporting this use case.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T17:51:36.000+0000", "updated": "2014-08-14T17:51:36.000+0000" }, { "id": "414772", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Code Processor is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T17:10:32.000+0000", "updated": "2017-03-22T17:10:32.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }