I have working command line build setup for my MobileFirst application. However today when I ran a build, I got following error:
BUILD FAILED
C:\...\build.xml:29: Failed creating temporary directory to build adapter
What might be the cause of this error?
I'm running the build via ant:
ant build
Relevant part of build.xml is:
<target name="build">
<app-builder worklightserverhost="${server.address}" applicationFolder="apps/MyApp" outputFolder="${build.dir}"/>
<adapter-builder folder="adapters/Adapter1" destinationFolder="${build.dir}" />
<adapter-builder folder="adapters/Adapter2" destinationFolder="${build.dir}" />
...
</target>
Build jar files are correctly included in build.xml. I'm operating on MobileFirst 7.0.
This problem was caused by referencing nonexistent adapter. I removed one of deprecated adapters from the project but forget to edit build.xml file.