Wiki

Eclipse edit your generated portlet

How to Eclipse edit, your generated portlet

                So you are a portlet developer and want to twist the generated portlet to meet your needs, well that is going to be ease, first remember to have prerequisites controlled:

Prerequisites

Ø        Liferay plugins SDK installed and working

o         http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/the-plugins-sdk

 

Ø        XMLPortletFactory installed and working in Liferay plugins SDK

o         http://sourceforge.net/projects/xmlportlet/files/

o         A portlet already generated, (see “First Run” chapter)

o         We are going to use same example here (the “example-portlet”)

 

Ø        Eclipse Java EE IDE for web developers, installed and working.

o         http://www.eclipse.org/

o         Tested on version Helios Service Release 2.

o         Liferay IDE tools 1.2.3v2011 installed.

§          http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/liferay-i-2

 

Steps

1.        Start eclipse

2.        On the Navigator or Package Explorer right button --> import --> Liferay Plugin SDK Projects

 

 

3.        Next Button, select your Plugins SDK, the example-portlet, and your target runtime

 

 

4.        That’s it, you are ready to go, you have the full portlet with sources at your disposal in your favourite IDE. It should look something like this:

 

 

                Have fun.

 

More information about importing existing projects into Liferay IDE here:

 

http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/importing-existing-projects-into-liferay-ide

 

 

0 Attachments
4413 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments