Liferay 6.2中的构建失败

时间:2014-04-11 16:23:28

标签: java java-ee ant liferay liferay-6

我在构建失败,同时在ubuntu OS上的liferay 6.2中部署Portlets,Themes和Layouts。 控制台消息是:

控制台上的构建失败消息:

BUILD FAILED
/opt/scrum-6.2/plugins/layouttpl/20x80-layouttpl/build.xml:7: The following error occurred while executing this line:
/opt/scrum-6.2/plugins/layouttpl/build-common-layouttpl.xml:5: The following error occurred while executing this line:
/opt/scrum-6.2/plugins/build-common-plugin.xml:5: The following error occurred while executing this line:
/opt/scrum-6.2/plugins/build-common.xml:47: The following error occurred while executing this line:
/opt/scrum-6.2/plugins/build-common-ivy.xml:17: The specified destination is a directory

任何人都可以帮助我吗?

2 个答案:

答案 0 :(得分:1)

解决方案 - >编辑build-common-ivy.xml并更改第17行,使其如下所示:

   dest="${ivy.home}/ivy-${ivy.version}.jar"

此外,它抱怨你需要Ant 1.8,所以一定要升级到1.8。

答案 1 :(得分:0)

我已解决构建失败问题

插件中缺少以下文件:

---> build.username.properties文件

在.ivy文件夹中,错过了缓存文件夹和ivy-2.3.0.jar文件。

我刚刚在插件中添加了上述内容。