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

Sometimes git managed projects can open with no deployment targets in Tiapp.xml detail but the Overview shows targets selected.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: Titanium Studio 1.0.6
    • Fix Version/s: None
    • Component/s: Tiapp
    • Labels:
    • Environment:

      Mac OS X 10.7.2, Titanium Studio, build: 1.0.6.201110251616

    • Story Points:
      8

      Description

      Description:
      While evaluating the impact of using git-managed projects in Studio, I encountered a situation where the git project's Tiapp.xml was missing the deployment targets in the xml view. The targets were checked in the "overview" view however. A quit and relaunch of studio then populated the deployment targets in the xml view, and removed the checkmarks in the "overview" view.

      Before studio quit and relaunch:

      <?xml version="1.0" encoding="UTF-8"?>
      <ti:app xmlns:ti="http://ti.appcelerator.org">
      <id>com.nolanwright.kitchensinkipad</id>
      <name>KitchenSink-iPad</name>
      <version>1.0</version>
      <publisher>nwright</publisher>
      <url>appcelerator.com</url>
      <description>No description provided</description>
      <copyright>2010 by nwright</copyright>
      <icon>default_app_logo.png</icon>
          <persistent-wifi>false</persistent-wifi>
          <prerendered-icon>false</prerendered-icon>
          <statusbar-style>default</statusbar-style>
          <statusbar-hidden>false</statusbar-hidden>
          <fullscreen>false</fullscreen>
          <navbar-hidden>false</navbar-hidden>
          <analytics>true</analytics>
      <guid>1000da51-9909-4a9e-a82f-52de59746d37</guid>
      </ti:app>
      

      After relaunch:

      <?xml version="1.0" encoding="UTF-8"?>
      <ti:app xmlns:ti="http://ti.appcelerator.org">
          <deployment-targets>
              <target device="mobileweb">true</target>
              <target device="iphone">true</target>
              <target device="ipad">true</target>
              <target device="blackberry">false</target>
              <target device="android">false</target>
          </deployment-targets>
          <id>com.nolanwright.kitchensinkipad</id>
          <name>KitchenSink-iPad</name>
          <version>1.0</version>
          <publisher>nwright</publisher>
          <url>appcelerator.com</url>
          <description>No description provided</description>
          <copyright>2010 by nwright</copyright>
          <icon>default_app_logo.png</icon>
          <persistent-wifi>false</persistent-wifi>
          <prerendered-icon>false</prerendered-icon>
          <statusbar-style>default</statusbar-style>
          <statusbar-hidden>false</statusbar-hidden>
          <fullscreen>false</fullscreen>
          <navbar-hidden>false</navbar-hidden>
          <analytics>true</analytics>
          <guid>1000da51-9909-4a9e-a82f-52de59746d37</guid>
      </ti:app>
      

      Steps to reproduce:
      1) Import KS-iPad from titanium_mobile 1.7.X
      2) Build from device to populate build folder
      3) In terminal, switch branches to master with git checkout -f master
      4) Switch back to 1.7.X with "git checkout 1_7_X"
      5) Examine TiApp.xml
      Result:
      The Tiapp.xml does not have the <deployment-targets></deployment-targets>

      Expected:
      TiApp.xml overview matches xml detail and deployment targets are selected and "true"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgibly Shalom Gibly
                Reporter:
                emerriman Eric Merriman
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: