{ "id": "114870", "key": "TIMOB-13969", "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": "15491", "description": "2013 Sprint 11 JS", "name": "2013 Sprint 11 JS", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15109", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "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-05-29T23:01:10.000+0000", "created": "2013-05-23T21:20:42.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "code-analyzer", "qe-closed-3.1.1", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-24T09:57:07.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": "13102", "name": "Code Processor", "description": "Analyzes JavaScript source" } ], "description": "The bin script is no longer being used to run the code processor, so it was removed. It does still serve a purpose though: other systems (a.k.a. Studio) can use the existence of the bin script to figure out where code processor is installed. The new bin script should print out the code processor version", "attachment": [], "flagged": false, "summary": "Code Processor: reintroduce the bin script", "creator": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "253734", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium-code-processor/pull/198\n1_0_X PR: https://github.com/appcelerator/titanium-code-processor/pull/199", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-23T21:42:14.000+0000", "updated": "2013-05-23T21:42:14.000+0000" }, { "id": "253874", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test:\r\n# Remove the existing code processor install \r\n## \"sudo npm rm -g titanium-code-processor\"\r\n## It's important that the symlink in /usr/local/bin is removed, so doing the \"npm rm\" command instead of just deleting the directory is necessary\r\n# Verify that the binary is no longer accessible by running \"titanium-code-processor\" from a terminal\r\n# Install the master version of the code processor\r\n# In Appcelerator Studio, right click on a project and select Code Analysis->[Platform]\r\n## It can be any project, even a blank project\r\n## The platform doesn't matter\r\n# Studio should display an error saying the code processor is not installed\r\n## Note: this step is only valid until the code is merged)\r\n# Install the latest code processor\r\n# Analyze the project in Appcelerator Studio again\r\n# This time there should be no error and everything should work correctly", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-24T17:49:51.000+0000", "updated": "2013-05-24T20:41:12.000+0000" }, { "id": "253927", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I followed the steps above and got no such error from studio at the end. I did the following:\r\n\r\n# {{sudo npm rm -g titanium-code-processor}}\r\n# {{ll /usr/local/bin | grep processor}} resulted in no entries\r\n# cd /path/to/titanium-code-processor\r\n# sudo npm install -g .\r\n# Created new, traditional titanium project in Appcelerator Studio\r\n# Right click the project and analyze for iphone\r\n# code processor runs and returns a report. I encountered no error.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-24T20:30:56.000+0000", "updated": "2013-05-24T20:30:56.000+0000" }, { "id": "253928", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Testing instructions were incomplete (sorry, my bad). They have been updated.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-24T20:41:32.000+0000", "updated": "2013-05-24T20:41:32.000+0000" }, { "id": "253929", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Small miscommunication on the initial testing instructions. It turns out the tests _were_ going as expected on my end. Code and functional review pass for both branches. Merged.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-24T20:41:41.000+0000", "updated": "2013-05-24T20:41:41.000+0000" }, { "id": "254694", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as working as expected.\r\n\r\nAppcelerator Studio 3.1.1.201305282349\r\nTitanium SDK 3.1.1.v20130524180421\r\nAlloy 1.1.3-alpha\r\nTitanium-Code-Processor 1.1.3-alpha3\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-29T22:50:46.000+0000", "updated": "2013-05-29T22:50:46.000+0000" }, { "id": "254702", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to apply label", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-29T23:00:45.000+0000", "updated": "2013-05-29T23:00:45.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }