[TIMOB-11886] CLI : Re-Building for mobileweb while the build folder open gives us an error 'Unable to run command build' & deletes the mobileweb build folder.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-11T20:22:56.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 12 JS, 2013 Sprint 12, Release 3.2.0 |
Components | CLI |
Labels | qe-cli, qe-manualtest |
Reporter | Lokesh Choudhary |
Assignee | Chris Barber |
Created | 2012-11-28T22:04:20.000+0000 |
Updated | 2014-08-11T20:22:57.000+0000 |
Description
Steps to reproduce:
1.Create an app for mobileweb using 'titanum create' command
2.Build using 'titanium build --project-dir --sdk 3.0.0.v20121127161658 --loglevel info'
3.The app gets successfully built
4.Now open the build folder & keep it open
5.Now run the build command again
6.You will get error:Unable to run command 'build'& bunch of error messages
7.Also, notice that the mobileweb build folder gets deleted.
Expected Result:
1.We should not be able to build successfully
Actual Result:
2.The build fails.
Attachments
File | Date | Size |
---|---|---|
screenshot.PNG | 2012-11-28T22:08:30.000+0000 | 472034 |
Please rerun with --log-level trace, not --loglevel info since --loglevel isn't a valid option and info doesn't show enough debug info.
master pull request: https://github.com/appcelerator/titanium_mobile/pull/4356 To test: 1. start up windows 2. open a command prompt 3. create a project or use an existing one 4. build the project for mobileweb 5. open another command prompt 6. in the 2nd command prompt, change dir to project\build\mobileweb 7. back in the 1st command prompt, build again for mobileweb
Verified fixed on: Windows 7 Titanium Studio, build: 3.2.0.201311140700 Titanium SDK, build: 3.2.0.v20131114123518 CLI: 3.2.0 Alloy: 1.3.0 Error message produce warns the user of build folder being open and advises you to terminate any instances of the folder.
Closing.