eclipse 使用eclipse在liferay中创建自己的portlet的教程
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12601054/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Tutorial for creating own portlet in liferay with eclipse
提问by User 1531343
I want to create My Own Portlet With the Eclipse JUNOfor Liferay. I have googled a lot but that's provide me only for using with netbeans so can anyone guide me or give me link of the tutorial for the creating portlet from scratch in eclipse.
我想使用Eclipse JUNOfor Liferay创建我自己的 Portlet 。我已经用 google 搜索了很多,但这仅提供给我用于与 netbeans 一起使用,所以任何人都可以指导我或给我在 eclipse 中从头开始创建 portlet 的教程链接。
I have tried with the following
我已经尝试过以下
ADD-> new Liferay Projects
添加-> 新的 Liferay 项目
And then its not showing in a liferay the portlet which i have created
然后它没有在 liferay 中显示我创建的 portlet
I have successfully installed liferay in my windows7 as well as i have also integrated ready made books portlet but just having while creating simple hello world portlet of my own
我已经成功地在我的 windows7 中安装了 liferay 并且我还集成了现成的书籍 portlet 但只是在创建我自己的简单 hello world portlet 时
very before i have even follow this link http://www.youtube.com/watch?v=-EbyIbMWrCIbut its showing my portlet in update manager option in admin account as a status is "UNKNOWN"
在我什至按照此链接http://www.youtube.com/watch?v=-EbyIbMWrCI 之前,它在管理员帐户的更新管理器选项中显示我的 portlet 作为状态是“未知”
回答by mico
For creating a portlet at Eclipse please have a look at Liferay development in Eclipse.
要在 Eclipse 中创建 portlet,请查看Eclipse中的Liferay 开发。
For getting ready portlet visible on Liferay you could find instructions for example on this: How to deploy portlets to Liferay?
为了让准备好的 portlet 在 Liferay 上可见,您可以找到以下说明:如何将 portlet 部署到 Liferay?
回答by David_DD
Here is the installation guideand getting started tutorial.