title: Building IBM worklight: why the error: Parameter 'directory' is not a directory
body: <p>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:</p>
  
  <pre><code>[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.
  </code></pre>
  
  <p>The error goes only after several eclipse restart/cleaning the project/removing the app from worklight development server.
  Any clue about this? </p>