简体   繁体   English

在Liferay 6.2中构建失败

[英]Build Failed in Liferay 6.2

I am getting Build Failed, while deploying the Portlets,Themes and Layouts in liferay 6.2 on ubuntu OS . 我在ubuntu OS上的liferay 6.2中部署Portlet,主题和布局时,构建失败。 The console messages are: 控制台消息是:

The Build Failed Message on Console: 在控制台上生成失败消息:

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

Can any one help me? 谁能帮我?

Solution -> Edit build-common-ivy.xml and change line 17 so that it looks like this: 解决方案->编辑build-common-ivy.xml并更改第17行,使其如下所示:

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

Also, it complains that you need Ant 1.8, so be sure to upgrade to 1.8. 另外,它抱怨您需要Ant 1.8,因此请确保升级到1.8。

I have resolved the build failed issue 我已经解决了构建失败的问题

The following file is missing in plugins: 插件中缺少以下文件:

---> build.username.properties file ---> build.username.properties文件

And inside the .ivy folder,cache folder and ivy-2.3.0.jar files are missed. 在.ivy文件夹中,缺少缓存文件夹和ivy-2.3.0.jar文件。

I just have added the above things in plugins. 我只是在插件中添加了以上内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM