MobileFirst app build - failed creating temporary

2019-09-19 02:24发布

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条回答
何必那么认真
2楼-- · 2019-09-19 02:44

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

查看更多
登录 后发表回答