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

Studio "Project > Clean" fails to remove all contents of build folder in some cases

    Details

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

      Mac OS X 10.7.2, Titanium Studio, build: 1.0.6.201110251616

      Description

      Description:
      While attempting to import and test KS-iPad to attempt to reproduce a different issue I imported KS-iPad into Studio. I was able to reproduce the error, but discovered that the project build folder "clean" had not functioned correctly. After further investigation I determined that this is related to git-managed project and the first clean removes at least two files. The second clean on the same project removes all content.

      We encounters this from time-to-time as our team tends to move between git brna frequently.

      Please see attachments "before" and "after" for images of the build folder before and after the first clean.

      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) In Studio, Project > Clean

      Result:
      The build folder loses a couple files, (.gitignore and the file KitchenSink-iPad_Prefix.pch ) but remains populated unless "clean" is chosen again.

      Expected:
      Clean removes all contents of the build folder

        Attachments

        1. After.png
          19 kB
          Eric Merriman
        2. Before.png
          34 kB
          Eric Merriman
        3. studioClean.rtf
          4.71 MB
          Eric Merriman

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              emerriman Eric Merriman
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: