MobileFirst 应用程序构建 - 创建临时目录以构建适配器失败 [英] MobileFirst app build - failed creating temporary directory to build adapter

查看:23
本文介绍了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.

推荐答案

此问题是由引用不存在的适配器引起的.我从项目中删除了一个已弃用的适配器,但忘记编辑 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天全站免登陆