« 返回到 Liferay IDE

Liferay IDE Getting Started Tutorial

Alternative Languages: 日本語

Installation #

If you have not already installed Liferay IDE view Liferay IDE Installation Guide for a detailed walk-through of installation.

Requirements before getting started #

  • 1. Liferay Portal 6.0 (RC2 or greater) downloaded and installed (or download in the IDE itself)
  • 2. Liferay Plug-ins SDK 6.0 (RC2 or greater) downloaded and installed (or download in the IDE itself)
  • 3. Eclipse Helios/Galileo Java EE for developers package - see the Liferay IDE Installation Guide for more information.

Note: earlier versions of Liferay, e.g. 5.x, are not supported yet by the Liferay IDE

Liferay Plug-ins SDK Setup #

Before you can begin creating new Liferay plug-in projects, a Liferay Plug-ins SDK and Liferay Portal must be installed and configured in the IDE.

  • 1. Open Eclipse with Liferay IDE installed.
  • 2. Open Preference page for Liferay > Installed SDKs ( Go to Window > Preferences > Liferay > Installed SDKs )

  • 3. If you have not already downloaded the Liferay Plug-ins SDK for your portal version you can download it from the sourceforge.net Liferay downloads page. Liferay plugin sdk is located available in the "portal" folder. In the "portal" folder, select the Liferay version matching the Liferay version. Within this folder, look for liferay-plugins-sdk-x.x.x.zip (usually the last file).
  • 4. Add your SDK using the Add button which brings up the Add SDK Dialog:

  • 5. Browse to the location of your Plug-ins SDK installation.
  • 6. The default name is the name of the directory but you can change it if you wish.
  • 7. Select OK and you should see your SDK in the list of Installed SDKs.

Note: multiple SDKs can be added to the preferences but you will need to select at least one SDK to be the default which is represented by the SDK that has the checkbox selected.

Note: if you have version 6.0.4 of Liferay Portal and the Plugin SDK, you will need to change your build.properties file. The SDK plugin assumes you have installed the SDK at the same level (same directory) as the portal directory. In the line

  • app.server.dir=${project.dir}/../bundles/app_server_name of build.properties you have to change bundles with the name of the Liferay portal installation directory e.g. liferay-portal-6.0.4.

Otherwise, portlets created with the SDK plugin will not be deployed by Ant.

Liferay Portal Tomcat Runtime / Server Setup #

  • 1. In eclipse open the Runtime environments preference page (Go to Window > Preferences > Server > Runtime environments)

  • 2. Click Add to add a new Liferay runtime and find Liferay v6 Tomcat under the Liferay, Inc. category and click Next.

  • 3. If you have not already downloaded and installed a copy of the Liferay Portal Tomcat bundle then you can download the latest Liferay Portal Tomcat bundle by clicking the "Download and Install..." button within the wizard.

  • 4. If you used the download option you can skip this step, if not, click Browse and select the location of the liferay-portal-6.0.2 directory.

  • 5. Once you have selected the Liferay portal directory if it has a bundled JRE then that bundled JRE will be automatically selected as the JRE to use for launching the server. However, if there is no bundled JRE (Mac and Linux users) then you will need to select the JRE to use for launch.

  • 6. Click finish and you should see the Liferay portal runtime in the list of runtimes in the preference page.

  • 7. Click OK to save the runtime preferences.
  • 8. If you didn't choose to create a server you will need to create one from the servers view before you can test the server.

  • 9. Find the Liferay, Inc category and select the Liferay v6 Server and choose the Liferay v6 Runtime that you had previously created.

Setting the Console Encoding #

This step is not necessary for Liferay IDE 1.2 and greater, see http://issues.liferay.com/browse/IDE-287

This steps are not necessary if Liferay is installed on an OS whose encoding is latin1 or UTF-8 (most US and European OS). Otherwise, it is necessary to specify the console encoding to properly display console messages.

  • 1. Select "Run" - "Run Configuration..." from the Eclipse menu.
  • 2. Select "Liferay v6.0 Server" from the menu.
  • 3. Select the "Common" tab.
  • 4. In the encoding section, select "Other" and "UTF-8". Select "Apply" - "Close".

Testing the Liferay portal server #

  • 1. Go to the servers view and you should see the new server that was created. right click and choose "Start" or "Debug"

  • 2. You should see messages appear in the Console view and once it starts, the servers view will update to show that it is "Started" and then, right-click the server and select the (Liferay Portal > Open Portal Home) action.

Create new Liferay Plug-in Project #

  • 1. Now that a SDK and portal server have been configured you can create a new Liferay plug-in project. Go to File > New Project... > Liferay > Liferay Plug-in Project

  • 2. In the Liferay Plugin project wizard page, select the SDK and Liferay runtime and then select the plug-in type (portlet is default) and now you can create a new plug-in project, by clicking Finish.

  • 3. If it worked you should see a new plugin project in the package explorer, so you are ready to begin Plugin Development.

18 附件
453638 查看
平均 (15 票)
满分为 5,平均得分为 4.666666666666667。
评论
讨论主题回复 作者 日期
When I click "Finish" in step 6, nothing... Devanshu Chakraborty 2010年6月22日 下午12:45
Why these two radio buttons for "Theme" and... Devanshu Chakraborty 2010年6月23日 上午12:14
This problem got solved by the solution given... Devanshu Chakraborty 2010年6月23日 上午2:33
Are you still unable to configure the runtime? Greg Amerson 2010年6月24日 上午5:57
Don't remove the bundled jre from liferay... MohdFaizul Sulaiman 2010年8月25日 下午6:36
I deployed it as said above. What is the user... Devanshu Chakraborty 2010年6月23日 上午1:16
If you are using 6.0 RC2 and if you haven't... Greg Amerson 2010年6月24日 上午5:59
Thanks for the replies gregory. I didn't remove... Devanshu Chakraborty 2010年6月24日 上午9:20
I'm sure there is a way to do what you are... Greg Amerson 2010年6月26日 上午10:53
Hi, While creating new plugin project ... p chandru 2010年6月23日 上午3:21
Themes and layout plugins are not yet supported... Greg Amerson 2010年6月24日 上午5:59
Hello Gregory, I'm using SDK 1.0.1. The... Maarten van Heiningen 2010年8月2日 上午6:18
Hi Gregory, Didn't read your Wiki about the... Maarten van Heiningen 2010年8月2日 下午12:33
You can test what is currently there right now... Greg Amerson 2010年8月3日 上午10:50
hi my friend i use... Alireza Bahrami 2010年8月6日 上午10:18
Glassfish isn't yet supported for development. ... Greg Amerson 2010年8月19日 上午6:46
As you noticed in the 1.1 plan layout template... Greg Amerson 2010年8月3日 上午10:49
Hi, everything smooth until i hit the "Finish"... Alex Menz 2010年6月30日 上午11:39
Any idea when the theme and layout functions... Michelle Winchell 2010年6月30日 下午3:02
Layout template support is being worked on... Greg Amerson 2010年7月2日 上午7:33
I cannot create a new Liferay Plug-in Project:... Marco Dussin 2010年7月6日 上午7:07
Hello Marco, can you go over to the IDE forums... Greg Amerson 2010年7月9日 上午5:37
Hi Colleagues, An XP user (me) reports about... Péter Füzi 2010年7月7日 上午4:57
Hello Peter, I posted your question over on... Greg Amerson 2010年7月7日 上午7:51
We were installing the following these... Amy Mead 2010年7月8日 上午7:19
Hello Amy, Thanks for letting me know that it... Greg Amerson 2010年7月9日 上午5:36
Consider it done! Actually, it is done;)! ... Amy Mead 2010年7月10日 下午1:24
Actually, I just noted the following: "Note:... Amy Mead 2010年7月10日 下午1:27
Hi Amy, Unfortunately there are no officially... Greg Amerson 2010年7月12日 上午6:43
Excellent ! ilke Muhtaroglu 2010年7月9日 上午3:53
Perfect! Please keep these guides coming, they... Joel Protivnak 2010年7月14日 上午8:01
This was very helpful. The only very small... Bruce Altner 2010年7月16日 上午9:08
Glad you are up and running. The double-finish... Greg Amerson 2010年7月16日 上午9:29
I did all steps right, but when i try to... Marcelo Agostinho 2010年7月23日 上午6:06
Could you create a new topic in the Liferay IDE... Greg Amerson 2010年7月23日 上午8:35
Great job Gregory !!! What is the... Corné Aussems 2010年7月27日 上午10:42
Nice Tutorial,, I have followed the same and... Harish Kumar 2010年7月31日 上午3:28
Themes will be enabled in the 1.1 release. Greg Amerson 2010年8月3日 上午10:48
It may have been mentioned elsewhere, but when... gavin rawson 2010年9月15日 上午4:27
Thanks for the note Gavin. I've added it to... Greg Amerson 2010年9月15日 下午2:42
What if I run liferay on a separate tomcat... Jakub Liska 2010年10月2日 上午5:45
Hi Jakub, separate catalina_home/cataline_base... Greg Amerson 2010年10月6日 上午3:18
I have Liferay 6.0.5 deployed on directory =... Apoena Oliveira Machado 2010年11月3日 上午10:23
Liferay IDE doesn't support developing against... Greg Amerson 2010年12月8日 上午11:33
Two problems possibly related to Liferay IDE: ... Jeff Zhuk 2010年11月20日 下午4:04
help me .my portlets created with the SDK... anh phuoc 2010年11月29日 上午8:23
1. Very good job. 2. Any points: (I use IDE... Behemoth . 2011年1月16日 上午10:53
Could you try the latest Liferay IDE 1.2... Greg Amerson 2011年2月14日 上午9:34
I'm OK up until hitting "Finish" on the... Terry Healy 2011年1月30日 上午11:19
Could you post your question over on the... Greg Amerson 2011年2月14日 上午9:35
HI Gregory, I imported my existing hook to ide... Smilelws2010 lwz 2011年2月16日 上午7:12
Hi ! When I click "finish" at the end, I get an... Arthur Toenz 2011年3月3日 上午12:43
Hi Arthur, can you post your problem and the... Greg Amerson 2011年3月3日 上午8:07
Can I use Liferay Developer Studio with Oracle... Advait Trivedi 2011年3月14日 上午8:08
Hello Advait, Oracle Weblogic 10.3.4 is not... Greg Amerson 2011年3月21日 上午11:21
I followed all the instructions. In the... Taekyu Shin 2011年6月24日 上午6:43
I am sorry that I forgot to mention something. ... Taekyu Shin 2011年6月24日 上午6:52
I would like to write here that I have resolved... Taekyu Shin 2011年6月24日 上午11:42
Hello, I have some issues attacing liferay... Jane Eyre 2011年7月21日 上午7:44
Just terric!! Thanks for the treasure. Vijay Mudivedu 2011年10月13日 上午3:31
It saved my time Thanks for the effort, Great... Joseph John 2011年11月2日 下午10:18
Its imposiible to unzip ... Ay Kay 2011年11月22日 上午8:22
Andre, use a better dezip tool, like 7zip, to... Francois Delanoe 2011年11月30日 上午5:25
Hello, I'm having trouble running the server. I... Xavi Carrillo 2012年3月12日 上午11:36
Hello Xavi, can you post the contents of the... Greg Amerson 2012年5月4日 上午5:48
Everything went well upto the last step... Kamal Khattar 2012年5月10日 上午12:43
Couldn't figure out what is the problem. But I... Kamal Khattar 2012年5月10日 上午3:54
something is wrong with mine.. missing step #... Leslie Hanley 2013年2月20日 上午1:45
"Location must be a valid Liferay Plugin SDK."... Luís Mascarenhas 2013年5月27日 上午6:31
Hello Luis, Only version 6.0.2 and greater of... Greg Amerson 2013年5月27日 上午6:33
Thanks for the clarification Gregory. Luís Mascarenhas 2013年5月27日 上午6:36
Thanks, it works great! Amine RYANE 2013年11月18日 下午1:40
i am not able to process after step 3 Varun Kumar Thendoolkar 2014年5月12日 上午4:43
Hello Varun, Can you download or unzip a new... Lu Li 2014年5月14日 上午4:39
hi Li li, i have followed the steps but... Varun Kumar Thendoolkar 2014年5月14日 下午9:20
Hi Varun, Thanks for the quick response , I... Lu Li 2014年5月14日 下午10:48
Lu li, I have tried the same now but this time... Varun Kumar Thendoolkar 2014年5月14日 下午11:03
Hi , varun It seems that your SDK is not a... Lu Li 2014年5月14日 下午11:19
Lu li, i can see almost all folder but not... Varun Kumar Thendoolkar 2014年5月15日 上午12:02

When I click "Finish" in step 6, nothing happens!!! Window remains as it is there.

Can you pls tell me why it's happening so ?
在 10-6-22 下午12:45 发帖。
Why these two radio buttons for "Theme" and "Layout" are disabled? How can we make theme and layout plugins from eclipse?
在 10-6-23 上午12:14 发帖以回复 Devanshu Chakraborty
I deployed it as said above. What is the user id and password to log into the portal? the id "test@liferay.com" with password "test" gives error message: The email address you requested is not registered in our database.

v 5.2 didn't give this error ever. Can somebody tell me if i missed something or I need to do some explicit steps to populate some user table with user details. I need a super admin which has each and every right in the system to run over the application.
在 10-6-23 上午1:16 发帖。
This problem got solved by the solution given in link http://www.liferay.com/community/forums/-/message_boards/message/5131178. Really a good discussion. Spring-aop.jar was missing and secondly I had to use Liferay Portal 6 RC2.
在 10-6-23 上午2:33 发帖以回复 Devanshu Chakraborty
Hi,
While creating new plugin project
1. Theme plugin
2. Layout plugin
both are disabled.
How to enable them?
How to create theme and layout using the Liferay IDE?
How to work with the existing theme ans layouts?
在 10-6-23 上午3:21 发帖。
Are you still unable to configure the runtime?
在 10-6-24 上午5:57 发帖以回复 Devanshu Chakraborty
If you are using 6.0 RC2 and if you haven't uninstalled the 7cogs hook, then you will need to use bruno@7cogs.com/bruno, once you delete the 7cogs hook then all of the built-in data will be removed and you can then use the test@liferay.com/test account.
在 10-6-24 上午5:59 发帖以回复 Devanshu Chakraborty
Themes and layout plugins are not yet supported by the IDE. I'm working on Layout support right now and it should be available for version 1.1.
在 10-6-24 上午5:59 发帖以回复 p chandru
Thanks for the replies gregory. I didn't remove the 7cogs hook. But I found in some article in this site itself to use the "bruno" id and was able to log into it.

I'm really not much into velocity. Is it possible to use tiles and jsp to construct themes. Though I'm trying to develop themes by mapping and converting the corresponding ".vm" files into tiles.

If it is possible then can u please give me some hints and tips for that or refer me some help page to start with.

By d way ur suggestion on page "http://www.liferay.com/community/forums/-/message_boards/message/5129414" helped me to sort out my one setup problem.

Thanks.
在 10-6-24 上午9:20 发帖以回复 Gregory Amerson
I'm sure there is a way to do what you are attempting but I just don't know how exactly it would work. You can post over on the Liferay english development forums and likely will hear from someone who has tried your very scenario.
在 10-6-26 上午10:53 发帖以回复 Devanshu Chakraborty
Hi, everything smooth until i hit the "Finish" button. Then I get the error message "Failed while installing Liferay Portlet 6.0" - The "Details" only show a null pointer exception. Please help.
在 10-6-30 上午11:39 发帖。
Any idea when the theme and layout functions will be available?
在 10-6-30 下午3:02 发帖。
Layout template support is being worked on currently and will be available in version 1.1.
在 10-7-2 上午7:33 发帖以回复 Michelle Winchell
I cannot create a new Liferay Plug-in Project:
"Project name is invalid."

Where am i wrong?
在 10-7-6 上午7:07 发帖。
Hello Marco, can you go over to the IDE forums and post your issue and we can try to help you out.

http://www.liferay.com/community/forums/-/message_boards/category/4627757
在 10-7-9 上午5:37 发帖以回复 Marco Dussin
Hi Colleagues,

An XP user (me) reports about his problem.
I'm stopped at Liferay Plug-ins SDK Setup / step 5. What particular IDE-SDK folder or file should be browsed in this field? I'm over the installation with success. Unfortunately I'm a newbie in Eclipse technology. Most likely it concludes me as I cannot give the correct place of the IDE SDK installed.

May I appreciate your guidance?
Thank you: Péter
在 10-7-7 上午4:57 发帖。
Hello Peter,

I posted your question over on the Liferay forums so that I can add my answers there and you can ask followup questions if you need them.

http://www.liferay.com/community/forums/-/message_boards/message/5255785
在 10-7-7 上午7:51 发帖以回复 Péter Füzi
We were installing the following these directions and when we got to the "Step 5", we could not FINISH - as was stated by others. We also had the "Select Server Runtime" grayed out an we could not select it. After batting our heads against the wall, we decided to upgrade our Liferay installation on the MAC from 5.2.3 to 6.0. When we did this, we were able to proceed with the installation. I did not realize that having Liferay 6.x installed was a pre-requisite for the plugin to work. Is this really the case?

Also, we would like to develop on the MAC and deploy on an Ubuntu Liferay platform. Our Ubuntu Liferay deployment is on 5.2.3. Can we develop on the MAC with the Liferay 6.0 environment and deploy on Ubuntu Liferay 5.2.3?

Lastly is there some automated way to develop on the MAC using the runtime of the server?
在 10-7-8 上午7:19 发帖。
在 10-7-9 上午3:53 发帖。
Hello Amy,

Thanks for letting me know that it wasn't clear that only Liferay v6 is supported by the IDE. I'll update this document (and others) to try to make that more clear.

Regarding your other questions, could you ask those same questions in the Liferay IDE forums?

http://www.liferay.com/community/forums/-/message_boards/category/4627757

That way others can benefit when I post the reply. emoticon Thanks!
在 10-7-9 上午5:36 发帖以回复 Amy Jean Mead
Consider it done! Actually, it is done;)!

Greg, since we have Liferay 5.2.3 in production, can we use Liferay 6 IDE for development? If not, I guess I just need to adapt these instructions for the Liferay plugins for 5.2.3?
在 10-7-10 下午1:24 发帖以回复 Gregory Amerson
Actually, I just noted the following:

"Note: earlier versions of Liferay, e.g. 5.x, are not supported yet by the Liferay IDE"

If this is the case, what tools do you use to develop to a Liferay 5.2.3 system?
在 10-7-10 下午1:27 发帖以回复 Amy Jean Mead
Hi Amy,

Unfortunately there are no officially supported eclipse based tools for version 5.2.3. There has been some discussions internally about supporting them at least for launching the server, but nothing official yet.
在 10-7-12 上午6:43 发帖以回复 Amy Jean Mead
Perfect! Please keep these guides coming, they are so helpful. emoticon
在 10-7-14 上午8:01 发帖。
This was very helpful. The only very small glitch I ran into was after creating the test-portlet project and clicking "Finish" the IDE reminded me that was not in the Liferay perspective and asked if I wanted to be. I said OK, but then had to click "Finish" again. I wish all my installation problems were that trivial.
在 10-7-16 上午9:08 发帖。
Glad you are up and running. The double-finish thing sounds weird. Let me know if you see anything strange in your error log that could be a problem.
在 10-7-16 上午9:29 发帖以回复 Bruce Altner
I did all steps right, but when i try to initialize the server i got the following message:
"Could not Create the Java Virtual Machine"
"Error occurred during initialization of VM"
"Could not reserve enough space for object heap"
在 10-7-23 上午6:06 发帖以回复 Gregory Amerson
Could you create a new topic in the Liferay IDE forums and I can follow up there and try to help you get up and running.

http://www.liferay.com/community/forums/-/message_boards/category/4627757
在 10-7-23 上午8:35 发帖以回复 Marcelo Agostinho
Great job Gregory !!!

What is the best/preferred way to have a development portal-developer.properties configuration?
#1 keep it in the servers /ROOT/WEB-INF/classes
#2 keep it somewhere else on the -cp
#3 use a development hook?
在 10-7-27 上午10:42 发帖。
Nice Tutorial,,

I have followed the same and get it up with Liferay 6.0.4
Layout plugin is also working fine but last option Themes is still disabled..
在 10-7-31 上午3:28 发帖。
Hello Gregory,

I'm using SDK 1.0.1. The possibility to select Layouts is there but I'm getting a porlet setup instead and not the expected layout tpl files.

I'm working on the Liferay 6.0.4 with the latest available sdk on Eclipse Galileo.

Have you got any suggestions?
What would be the expected release date for Liferay SDK 1.1 with theme development?

Thanks,
Maarten
在 10-8-2 上午6:18 发帖以回复 Gregory Amerson
Hi Gregory,

Didn't read your Wiki about the Liferay IDE 1.1 plan
http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+1.1+Plan

So I know I have to wait. If you need any testers please let me know.

Thank,
Maarten
在 10-8-2 下午12:33 发帖以回复 Maarten van Heiningen
Themes will be enabled in the 1.1 release.
在 10-8-3 上午10:48 发帖以回复 Harish Kumar
As you noticed in the 1.1 plan layout template and themes will be available officially there.
在 10-8-3 上午10:49 发帖以回复 Maarten van Heiningen
You can test what is currently there right now if you want to switch to the nightly URL:

http://releases.liferay.com/tools/ide/eclipse/helios/nightly/
在 10-8-3 上午10:50 发帖以回复 Maarten van Heiningen
hi my friend

i use liferay-portal-6.0.4(Glassfish 3.0) but with this way we just can develop liferay(tomcat 6)
i want use (liferay-portal glassfish server)

thanks
在 10-8-6 上午10:18 发帖以回复 Gregory Amerson
Glassfish isn't yet supported for development. Hopefully we will be able to add it in a future release.
在 10-8-19 上午6:46 发帖以回复 Alireza Bahrami
Don't remove the bundled jre from liferay tomcat bundle. If you remove it, the "Installed Jre.." will not enabled. An it won't works. I think this is a defect.
在 10-8-25 下午6:36 发帖以回复 Devanshu Chakraborty
It may have been mentioned elsewhere, but when I tried to create a portlet I got a null pointer exception and an incomplete portlet project. I eventually found this was due to me just having the java eclipse rather than the j2ee versio. After adding the j2ee stuff to eclipse at all seems fine. I guess the doc should mention j2ee in its requirements ??

apart from that, great guide !
在 10-9-15 上午4:27 发帖。
Thanks for the note Gavin. I've added it to the requirements section that you need the full Java EE package from Eclipse.
在 10-9-15 下午2:42 发帖以回复 gavin rawson
What if I run liferay on a separate tomcat instance / catalina_base ? I then cannot add the tomcat instance to the liferay IDE because it's not the main instance (catalina_home) with all runtime libraries.
在 10-10-2 上午5:45 发帖。
Hi Jakub, separate catalina_home/cataline_base setup is not yet supported in Liferay IDE.
在 10-10-6 上午3:18 发帖以回复 Jakub Liska
I have

Liferay 6.0.5 deployed on directory = /Tomcat6/webapps/lportal

But I can't create server runtime for use on IDE. Says that cannot needs liferay-portal-6.0.2 or bigger.

Why?
在 10-11-3 上午10:23 发帖。
Two problems possibly related to Liferay IDE:

Both cases happen when debagging in Eclipse and IDE moves the war file from deploy/temp to the webapps directory.

1. Calls to web services / AXIS within Liferay/Tomcat cause ClassCastException:
http://www.liferay.com/community/forums/-/message_boards/mess­age/6453987

Jar dependences cause creating "tomcat/webapps/ROOT/WEB-INF/lib/util-java.jar" in the portlet/WEB-INF/lib with included "client-config.wsdd"

What should be changed to prevent inclusing of the client-config.wsdd?

2. Timezone
http://www.liferay.com/community/forums/-/message_boards/message/6354044­
在 10-11-20 下午4:04 发帖。
help me .my portlets created with the SDK plugin not be deployed by Ant.
在 10-11-29 上午8:23 发帖以回复 Jeff Zhuk
Liferay IDE doesn't support developing against a tomcat where the deployment of Liferay has been changed from ROOT. Support for that will be added in the future.
在 10-12-8 上午11:33 发帖以回复 Apoena Oliveira Machado
1. Very good job.
2. Any points:
(I use IDE 1.1)
- Both are not correct:
* 3. If you have not already downloaded the Liferay Plug-ins SDK for your portal version you can download it from the sourceforge.net Liferay downloads page. Look for liferay-plugins-sdk-6.0.2.zip. - Can't find.

* 3a. An alternative to downloading yourself is using the "Download..." button on the Installed SDK page and it will automatically download and install the latest Liferay Plug-ins SDK for you. - creates location with name "...sdk-6.0.2". - But last version SDK - 6.0.5

- What todo if Runtime Environment must be in any steps? For example:
start mail-server, start db-server, start Tomcat. And back sequence for stop.
在 11-1-16 上午10:53 发帖。
I'm OK up until hitting "Finish" on the hello-world portlet. It fails saying "Failed while installing Dynamic Web Module 2.5" due to a null pointer. Any suggestions what I did wring?

-thanks
在 11-1-30 上午11:19 发帖。
Could you try the latest Liferay IDE 1.2 update? It should have those issues fixed.
在 11-2-14 上午9:34 发帖以回复 Behemoth .
Could you post your question over on the Liferay IDE forums along with the full error stack trace available from the Error log view? thanks. http://www.liferay.com/community/forums/-/message_boards/category/4627757
在 11-2-14 上午9:35 发帖以回复 Terry Healy
HI Gregory,

I imported my existing hook to ide and is running fine, but I have errors all over the jsp page. can you help me to get rid of that.
here is the forumn topic for the same
http://www.liferay.com/community/forums/-/message_boards/message/7560150?_19­_preview=false
在 11-2-16 上午7:12 发帖以回复 Gregory Amerson
Arthur Toenz
Hi !
When I click "finish" at the end, I get an error :
"Failed while installing Dynamic Web Module 2.5

Reason:
Failed while installing Dynamic Web Module 2.5

>>Details:
java.lang.NullPointerException"

What can I do ?
在 11-3-3 上午12:43 发帖。
Hi Arthur, can you post your problem and the full steps to replicate over in the Liferay IDE forums? Here is the url: http://www.liferay.com/community/forums/-/message_boards/category/4627757 Thanks!
在 11-3-3 上午8:07 发帖以回复 Arthur Toenz
Can I use Liferay Developer Studio with Oracle Weblogic 10.3.4 as my App Server ? If yes, can some one guide me with that? I am stuck at Configuring a Liferay Portal runtime. Even though I added Oracle Weblogic runtime. Basically, new Liferay Project command is not allowing me to create new portlet unless I select a runtime, and it doesnt show my Weblogic runtime as an option.
在 11-3-14 上午8:08 发帖。
Hello Advait,

Oracle Weblogic 10.3.4 is not yet supported by Liferay Developer Studio. It is planned for a future version.
在 11-3-21 上午11:21 发帖以回复 Advait Trivedi
I followed all the instructions.
In the 'Testing the Liferay portal server' section, I just cannot pass #2.
select the (Liferay Portal > Open Portal Home) action. ==> The Liferay button does not show.
I did not set up ANT , however, I feel that this should not be the reason.

The major problem is that When I tried http:localhost:8080, it was unavailable. Could anybody give me some idea?
在 11-6-24 上午6:43 发帖。
I am sorry that I forgot to mention something.

Of course, I started the server installed, then tried localhost:8080. The page did
not show, and the setting for the port number is right(8080).
在 11-6-24 上午6:52 发帖以回复 Taekyu Shin
I would like to write here that I have resolved the issue. For some reason, it collided with the liferay installed on my machine. I resolved it by getting the Eclipse IDE bundled already with Liferay from liferay website. I can finally get to the project for the company.
在 11-6-24 上午11:42 发帖以回复 Taekyu Shin
Hello,

I have some issues attacing liferay source to IDE. Can some one help me in doing this? I would like to debug the portlets using Liferay IDE.

Thanks in advance
Jane
在 11-7-21 上午7:44 发帖以回复 Taekyu Shin
Just terric!!

Thanks for the treasure.
在 11-10-13 上午3:31 发帖。
It saved my time
Thanks for the effort, Great and simple
在 11-11-2 下午10:18 发帖以回复 Vijay Mudivedu
Its imposiible to unzip
"liferay-portal-jboss-6.1.0-ce-b4-20111110.zip"
on a windows PC. Period.
"Pathname exceeds 260 characters...."
在 11-11-22 上午8:22 发帖以回复 Joseph John
Andre,

use a better dezip tool, like 7zip, to avoid this trouble.
在 11-11-30 上午5:25 发帖以回复 Andre Kuhn
Hello,
I'm having trouble running the server.
I follow all the commands but when I try to run the server in the testing part nothing happends. The server remains [Stopped, Synchroniced].
I'm working with a Windows Vista.
I'll apreciate some help emoticon
在 12-3-12 上午11:36 发帖以回复 Fanch D
Hello Xavi,

can you post the contents of the eclipse error log <workspace>/.metadata/.log in a new forums post here?
http://www.liferay.com/community/forums/-/message_boards/category/4627757
在 12-5-4 上午5:48 发帖以回复 Xavi Carrillo
Everything went well upto the last step mentioned.
But then I am facing one problem.
When I add test-portlet project on the server , it deploys it(webapps\test-portlet is present) but doesn't make it available for use.

Following are the logs
INFO: Server startup in 117649 ms
May 10, 2012 7:21:10 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\SoftwaresKK\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\test-portlet
May­ 10, 2012 7:21:11 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/portlet is already defined

When checked liferay - Add -> More -> Sample - this test portlet was not there.Please help.
I am using liferay-plugins-sdk-6.1.0-ce-ga1. Other details are in the logs.
在 12-5-10 上午12:43 发帖以回复 Gregory Amerson
Couldn't figure out what is the problem. But I deleted the existing installations for portal and plugins. Installed again. It worked.
在 12-5-10 上午3:54 发帖以回复 Kamal Khattar
something is wrong with mine.. missing step # 2. No liferay, Inc
在 13-2-20 上午1:45 发帖。
"Location must be a valid Liferay Plugin SDK." when trying to install "liferay-plugins-sdk-5.2.1". Can give me some clue to solve this?
在 13-5-27 上午6:31 发帖。
Hello Luis,

Only version 6.0.2 and greater of the plugins SDK is supported. Sorry about that.
在 13-5-27 上午6:33 发帖以回复 Luís Mascarenhas
Thanks for the clarification Gregory.
在 13-5-27 上午6:36 发帖以回复 Gregory Amerson
在 13-11-18 下午1:40 发帖。
i am not able to process after step 3
在 14-5-12 上午4:43 发帖。
Hello Varun,

Can you download or unzip a new SDK and try again ?
http://jaist.dl.sourceforge.net/project/lportal/Liferay%20Portal/6.2.1%20GA2/lif­eray-plugins-sdk-6.2-ce-ga2-20140319114139101.zip

you can try the steps:
1.unzip it .open IDE
2.setup SDK in IDE : Window > Preferences > Liferay > Installed SDKs .click "add" then in the popup dialog browse the location where you unzipped your SDK ,like mine is "D:\liferay-plugins-sdk-6.2-ce-ga2-20140319114139101\liferay-plugins-sdk-6.2"
3.then you can do the rest on the tutorial ,if you you still have any problem to process , please let us know and try to post more details

Thanks
在 14-5-14 上午4:39 发帖以回复 Varun kumar
hi Li li,

i have followed the steps but whenever i chose location of sdk like "D:\liferay-plugins-sdk-6.2-ce-ga2-20140319114139101\liferay-plugins-sdk-6.2" it tells that "name must have a value" what should i do? i am able to configure server but here i am stuck. because of this i am not able to develop liferay plugin portlet. i am new to liferay helpme out
在 14-5-14 下午9:20 发帖以回复 Lu Li
Hi Varun,

Thanks for the quick response , I get what you mean , you can just simply type a name in the 'Name' field.
If you clicked the 'Browse' button next to "Location" it should fill a name same as the SDK name in the "Name" field ,if no then you can manually add a name .
Please let us know if you have any problem to follow the tutorial .
在 14-5-14 下午10:48 发帖以回复 Varun kumar
Lu li,
I have tried the same now but this time "Location must be a valid Liferay Plugin SDK." it tells like this . emoticon i am confused
在 14-5-14 下午11:03 发帖以回复 Lu Li
Hi , varun

It seems that your SDK is not a complete sdk , check of the size of your SDK , its is like 3MB after you unzipped it . Could you take a look at the root dir if there is some folders like "themes" "portlets" "hooks" etc and some .xml files like "build-common-plugins.xml" "build-common-plugin.xml" "build-common.xml" etc
Besides , can you tell me what version of IDE are u using , click "Help" in the top column of eclipse then choose "About Eclipse" , in the popout dialog , there are alot icons , click the white cube icon then copy the version , like "Liferay IDE 2.1.0**********"

Thanks
在 14-5-14 下午11:19 发帖以回复 Varun Kumar Thendoolkar
Lu li,
i can see almost all folder but not "hooks", and
Eclipse Java EE IDE for Web Developers.
Version: Kepler Service Release 2
and configured liferay over here by installing new liferay software for eclipse here.
i can configure and run liferay server and meanwhile i am able to open liferay portal home. only sdk part is problem
在 14-5-15 上午12:02 发帖以回复 Lu Li