Search code examples
ibm-mobilefirstworklight-studio

Building IBM worklight: why the error: Parameter 'directory' is not a directory


I created a sample app in worklight studio. The app is running fine in simulator. But at times, when I rebuild the application or start the server from Run as->Run on Worklight Development Server, I am getting the following build error:

[2014-10-24 09:58:58] Starting build process: application 'MySearch', all environments 
[2014-10-24 09:58:58] FWLST1040E: common build failed: Parameter 'directory' is not a  directory
[2014-10-24 09:58:59] FWLST1040E: android build failed: Parameter 'directory' is not a directory
[2014-10-24 09:58:59] FWLST1040E: iphone build failed: Parameter 'directory' is not a directory
[2014-10-24 09:58:59] Application 'MySearch' with all environments build finished with errors.

The error goes only after several eclipse restart/cleaning the project/removing the app from worklight development server. Any clue about this?


Solution

  • Try this:

    1. Go to your TMP folder and delete the wlBuildResources directory
    2. Use a new instance of Eclipse
    3. Use a new workspace

    See if the error repeats itself.