IBM Worklight - 构建失败

时间:2013-07-30 12:11:16

标签: ibm-mobilefirst

我的环境在重新启动,清理,退出eclipse,删除本机文件夹后无法构建,我也在寻找一个理由并完美修复此错误,因为任何开发人员每次出现此问题时都不会删除,请帮助

error log 


windowsphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windowsphone/native/Properties/WMAppManifest.xml (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windowsphone/native/Properties/WMAppManifest.xml (No such file or directory)
[2013-07-30 17:39:20] FWLST1040E: ipad build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/ipad/native/testLogintestIpad-Info.plist (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/ipad/native/testLogintestIpad-Info.plist (No such file or directory)
[2013-07-30 17:39:21] FWLST1040E: iphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/iphone/native/testLogintestIphone-Info.plist (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/iphone/native/testLogintestIphone-Info.plist (No such file or directory)
[2013-07-30 17:39:21] FWLST1040E: windows8 build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windows8/native/package.appxmanifest (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windows8/native/package.appxmanifest (No such file or directory)
[2013-07-30 17:39:23] FWLST1040E: android build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/android/native/AndroidManifest.xml (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/android/native/AndroidManifest.xml (No such file or directory)
[2013-07-30 17:39:24]             A core eclipse exception has occurred: Failed to read project description file from location '/Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/android/native/.project'.

由于 djrecker

3 个答案:

答案 0 :(得分:1)

在使用Refactor->Rename更改项目名称后,我的日食中出现了同样的错误 以下修复适用于iPhone环境。您也可以尝试其他环境。

  • 错误说无法找到info.plist文件。请尝试移动到计算机中的该位置,然后查看该文件是否存在。 在您的情况下ESILoginESIIphone-Info.plist
  • 如果你找不到该文件。只需查看相同路径中的***-Info.plist,然后记下**** worklight将始终在info.plist文件中附加您的项目名称两次(不知道为什么)。例如,如果项目名称为ESI,那么plist文件名将为ESIESI-Info.plist。

我猜您在项目文件中已将名称更改为ESILogin

  • 尝试使用您在上一步中找到的****重命名项目。

多数民众赞成。 快乐建筑。

答案 1 :(得分:0)

  1. 请查看Eclipse中的错误日志视图;那里应该有一个例外追踪,可以帮助我们确定根本原因。

  2. 你可以重现这个吗?是否仅在您创建新项目并一次添加所有移动环境时,甚至仅添加一个移动环境时才会发生?

  3. 您的Worklight版本是什么?

答案 2 :(得分:0)

删除项目中的bin文件夹内容,然后重新启动服务器。 再次部署所有适配器和应用程序