Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13958] Code Processor: Reuse project validation mechanisms from the CLI

GitHub Issuen/a
TypeStory
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-08-22T00:41:53.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 17, 2013 Sprint 17 Tooling, Release 3.2.0
ComponentsCode Processor
Labelsn/a
ReporterIngo Muschenetz
AssigneeMatt Langston
Created2013-05-22T21:24:18.000+0000
Updated2014-02-04T01:09:18.000+0000

Description

Now that the code processor is a part of the CLI, we should reuse as much CLI code as possible when parsing projects. Doing things like SDK version matching, module version matching, project validation, platform validation, is currently done using custom code in the code processor (a by product of it originally being a separate product). Now that it's part of the CLI, the code processor should let the CLI do these operations. In addition to increasing code reuse, it will put project validation at parity with the CLI, which it currently is not.

Comments

  1. Bryan Hughes 2013-08-13

    Upping the priority because the code processor is broken with the latest CLI changes, and this is how to fix it.
  2. Bryan Hughes 2013-08-15

    PR: https://github.com/appcelerator/titanium-code-processor/pull/230
  3. Bryan Hughes 2013-08-21

    To test: run the code analyzer on a Titanium app via 'ti analyze -p iphone --all-plugins' while using the latest (3.2.0) CLI (this will require a custom deployment of the CLI). Without this fix, the code processor will crash the CLI.
  4. Michael Xia 2013-08-26

    Verified functionally. Closing.

JSON Source