MobileFirst应用程序的构建 - 未能创建临时目录下建适配器 [英] MobileFirst app build - failed creating temporary directory to build adapter

查看:383
本文介绍了MobileFirst应用程序的构建 - 未能创建临时目录下建适配器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有工作的命令行版本设置为我MobileFirst应用。然而今天,当我跑的生成,我得到了以下错误:

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?

我通过Ant运行的版本:

I'm running the build via ant:

ant build

build.xml文件的有关部分是:

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>

生成jar文件包含正确的build.xml中。我经营的MobileFirst 7.0。

Build jar files are correctly included in build.xml. I'm operating on MobileFirst 7.0.

推荐答案

这问题是由引用不存在的适配器造成的。我删除从项目去precated适配器之一,但忘记编辑build.xml文件。

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

这篇关于MobileFirst应用程序的构建 - 未能创建临时目录下建适配器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆