[TIMOB-18399] Windows: Projects can not be deleted if it's built once
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-01-30T19:22:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.0.0 |
Components | Tooling |
Labels | qe-3.5.0, regression |
Reporter | Kajenthiran Velummaylum |
Assignee | Tim Poulsen |
Created | 2014-12-17T05:27:31.000+0000 |
Updated | 2015-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
[~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?
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.
Praveen, thoughts?
[~ingo] I'm afraid this has to be do with permissions of the build_
Moving to 3_6_X because logging to a file was removed from the 3_5_X branch.
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.
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.