Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18399] Windows: Projects can not be deleted if it's built once

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-01-30T19:22:13.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.0.0
ComponentsTooling
Labelsqe-3.5.0, regression
ReporterKajenthiran Velummaylum
AssigneeTim Poulsen
Created2014-12-17T05:27:31.000+0000
Updated2015-03-25T00:01:43.000+0000

Description

Projects can not be deleted if it's built once.

(!) It's a regression since It works in 3.4.1 GA live stack.

Steps To Reproduce

1. Create a project 2. Build for Android device 3. Delete the project from disk

Actual Result

Exception is thrown. Deletion can not be completed. Please see the attachment for more info.

Expected Result

Project should be deleted without any issues as in 3.4.1 GA.

Attachments

FileDateSize
deleteProject.JPG2014-12-17T05:27:31.000+0000186544
Log.txt2014-12-17T06:25:37.000+00006357

Comments

  1. Ingo Muschenetz 2014-12-17

    [~kvelummaylum]

    Please post the Studio log file.

    What happens if you try and delete the project outside Studio? Is a file in use?

    If so, which file?

    If it's a SDK bug, why is it in Studio? Does the same thing happen if you do it from the CLI?

  2. Kajenthiran Velummaylum 2014-12-17

    I have attached the Studio log. I can delete the project outside Studio without any issues. [~ingo], Since I don't have any issues in deleting project outside Studio, I can do nothing with CLI.
  3. Ingo Muschenetz 2014-12-17

    Praveen, thoughts?
  4. Praveen Innamuri 2014-12-17

    [~ingo] I'm afraid this has to be do with permissions of the build_ file that we introduced.
  5. Tim Poulsen 2015-01-20

    Moving to 3_6_X because logging to a file was removed from the 3_5_X branch.
  6. Tim Poulsen 2015-01-20

    PR https://github.com/appcelerator/titanium_mobile/pull/6585 FR: On a Windows computer: 1. Using Studio, create a new mobile app project 2. Build for any platform 3. Close all open files from the project 4. In the project navigator, right-click the project and choose Delete. It should be deleted without issue. 5. Repeat steps 1 & 2. Confirm that a build_platform.log file was created and contains the log output that was also sent to the console. 6. Delete the project, again, there should be no errors.
  7. Ewan Harris 2015-03-25

    Verified fix on: Windows 8.1 Appc Studio: 4.0.0.201503232213 Titanium SDK build: 4.0.0.v20150323131014 Titanium CLI, build: 4.0.0-alpha Alloy: 1.6.0-alpha Nexus 6 (5.0.1) Followed the testing instructions there are no longer. Closing ticket.

JSON Source