Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-08-11T20:22:56.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2013 Sprint 12 JS, 2013 Sprint 12, Release 3.2.0
ComponentsCLI
Labelsqe-cli, qe-manualtest
ReporterLokesh Choudhary
AssigneeChris Barber
Created2012-11-28T22:04:20.000+0000
Updated2014-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

FileDateSize
screenshot.PNG2012-11-28T22:08:30.000+0000472034

Comments

  1. Chris Barber 2013-03-03

    Please rerun with --log-level trace, not --loglevel info since --loglevel isn't a valid option and info doesn't show enough debug info.
  2. Chris Barber 2013-06-05

    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
  3. Samuel Dowse 2013-11-15

    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.
    [ERROR] Failed to remove build directory "C:\Users\tester\Documents\Titanium_Studio_Workspace\mwebe/build/mobileweb
       [ERROR] Build directory is busy or locked
       [ERROR] Check that you don't have any terminal sessions or programs with open files in the build directory
    Closing.

JSON Source