MobileFirst app build - failed creating temporary directory to build adapter

流过昼夜 提交于 2019-12-12 03:36:52

问题


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.


回答1:


This problem was caused by referencing nonexistent adapter. I removed one of deprecated adapters from the project but forget to edit build.xml file.



来源:https://stackoverflow.com/questions/30619382/mobilefirst-app-build-failed-creating-temporary-directory-to-build-adapter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!