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

Importing app into studio restructures tiapp.xml unnecessary

    Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: None
    • Component/s: Tiapp
    • Labels:
      None
    • Environment:

      Appc Studio 5.0.0.201712081732
      MacOS

      Description

      When importing an app into studio it restructures the entire tiapp file without changing anything/much. Sometimes SDK is automatically changed if the imported one doesn't exist.

      This leads to polluted git commits as tiapp looks changed completely while internally almost nothing changed.

      Attached result of example when importing an app. It was imported in a workspace other than the previous one it was in on the same computer

      Another side-effect is that the app-id and guid seemed to have changed. After re-structuring I noticed this in the git diff

      -    <guid>b4f76ecd-f410-471d-9000-0d77cfa1508a</guid>
      +    <guid>7d5506c8-ed14-4c08-9aaa-0d77cfa1508a</guid>
      

      -    <property name="appc-app-id" type="string">5a271122ab96de4a851bf690</property>
      +    <property name="appc-app-id" type="string">5a9fe476e7475852d2d4cab5</property>
      

      Expected result

      • Nodes should be updated where needed, restructuring/tabbing/indenting of the tiapp.xml shouldn't be touched.
      • App shouldn't be re-registered automatically

        Attachments

          Activity

            People

            • Assignee:
              ppedduri Prashanth Pedduri (Inactive)
              Reporter:
              topener Rene Pot
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: