Liferay无法构建第一个插件项目 [英] Liferay can not build first plugin project

查看:248
本文介绍了Liferay无法构建第一个插件项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从Liferay开始。安装了Liferay Eclipse插件,工作正常。配置了Liferay服务器运行时,这也运行正常。在创建我的第一个Liferay插件项目时,它无法完成此向导工具。



它永远不会完成。我尝试已经下载了ivy缓存文件并将其手动放在.ivy文件夹中。也没有工作。我注意到一个奇怪的是,在这样做之后,当我尝试在Eclipse中再次尝试时,它在原始的.ivy文件夹中创建了另一个.ivy。所以它几乎忽略了原来的.ivy,并开始在原来的.ivy中执行相同的过程。



这是Eclipse控制台上显示的:

  [控制台输出重定向到文件:/Users/tutuk/.metadata/.plugins/com.liferay.ide.sdk.core/sdk.log ] 
构建文件:/Users/UserName/Desktop/liferay-plugins-sdk-6.2/portlets/build.xml
[mkdir]创建dir:/ Users / UserName / Desktop / liferay-plugins-sdk- 6.2 / .ivy
[get]获取:http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar
[get ] To:/Users/UserName/Desktop/liferay-plugins-sdk-6.2/.ivy/ivy-2.3.0.jar
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http: //ant.apache.org/ivy/ ::
[ivy:resolve] :: loading设置:: file = /Users/UserName/Desktop/liferay-plugins-sdk-6.2/ivy- settings.xml

当我强制它停止,在错误日志中出现:

 源'/ Users / UserName / .metadata / .plugins / com.liferay.ide.sdk.core / create / 1417376098997'不存在

我正在使用liferay-plugins-sdk-6.2,liferay-portal-6.2-ce-ga2和jdk8

解决方案

将任务中涉及的所有文件夹的权限更改为777.它工作:)


I'm beginning with Liferay. Installed the Liferay Eclipse plugin, which worked fine. Configured the Liferay Server Runtime, which also worked fine. When it comes to create my first Liferay plugin project, it fails finishing this wizard tool.

It never finishes. I tried already downloading the ivy cache files and putting it manually inside .ivy folder. Didn't work either. A strange thing that I noticed is that after doing this, when I tried to launch another try in Eclipse, it created another .ivy inside the original .ivy folder. So it pretty much ignored the original .ivy and started doing the same process within the original .ivy.

This is what appears on the Eclipse Console :

[Console output redirected to            file:/Users/tutuk/.metadata/.plugins/com.liferay.ide.sdk.core/sdk.log]
Buildfile: /Users/UserName/Desktop/liferay-plugins-sdk-6.2/portlets/build.xml
[mkdir] Created dir: /Users/UserName/Desktop/liferay-plugins-sdk-6.2/.ivy
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar
[get] To: /Users/UserName/Desktop/liferay-plugins-sdk-6.2/.ivy/ivy-2.3.0.jar
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /Users/UserName/Desktop/liferay-plugins-sdk-6.2/ivy-        settings.xml

And when I force it to stop, on the Error Log appears this:

 Source '/Users/UserName/.metadata/.plugins/com.liferay.ide.sdk.core/create/1417376098997' does not exist

I am using liferay-plugins-sdk-6.2, liferay-portal-6.2-ce-ga2 and jdk8

解决方案

I changed the permissions of all folders involved in the task to 777. It worked :)

这篇关于Liferay无法构建第一个插件项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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