Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-4139

Code Processor: main deployment targets should be based on Selected Platforms

    Details

    • Type: Story
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: Titanium Studio 3.1.0
    • Fix Version/s: Backlog
    • Component/s: Code Processor
    • Labels:
    • Environment:

      Titanium SDK: 3.1.0.v20130404173046
      OS: OS X Mountain Lion 10.8.3
      Appcelerator Studio: 3.1.0.201304022134 w/JDK 3.7.2

      Description

      Code Processor: main deployment targets should be based on Selected Platforms

      alternate title:

      Code Processor: main deployment targets ignore Selected Platforms preferences

      Test Steps:

      1. Create Titanium Project with two or more Deployment Targets.
      2. Invoke Project Context Menu > Code Analysis > Select Platforms.
      3. Deselect a Deployment Target.
      4. Invoke Code Analysis.

      Expected Result:

      Main deployment targets list should reflect Select Platforms preferences.

      Actual Result:

      Main deployment targets list reflects TiApp Deployment Targets.

      Rationale:

      1. If a user de-selects a deployment target in Select Platforms, they expect it to disappear from the main code analysis deployment targets list as well.

      1.1. If a deployment target is removed from Select Platforms, and all deployment targets are listed in the main target list, and the user runs All Platforms, only the targets in Select Platforms will be run, which is not reflected in the highly visible main targets list.

      2. The Select Platforms deployment target list is based on tiapp.xml, so making the main targets list determined by Select Platforms preferences is still valid.

      3. If a deployment target is deselected in tiapp.xml, then re-added to tiapp.xml, the Select Platforms menu will list the re-selected deployment target as disabled.

      3.1. This introduces another usability issue where if the user adds a deployment target to tiapp.xml for the first time, it will not be selected in Select Platforms preferences, thus bringing up item 1.1.

        Attachments

          Activity

            People

            • Assignee:
              mxia Michael Xia
              Reporter:
              dhyde Dustin Hyde
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: