This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. Eclipse
Alternative Languages: 日本語
This article discusses how to use the Eclipse IDE with Liferay.
Before you start #
If you haven't already, checkout and build Liferay from source then start Liferay Portal at least once, as described here: Getting started as a Liferay Developer in a few steps
Basic Configuration #
Download and install the Eclipse IDE.
Install Liferay IDE, the official set of Eclipse plugins for Liferay Portal development.
Import the 'portal-master' Eclipse project from source root. It should compile without errors right away.
Debug Liferay on Tomcat from Eclipse #
See main article: Eclipse Debugging Liferay on Tomcat
Run Liferay unit and integration tests from within Eclipse #
See main article: Eclipse Running Liferay tests
Let Eclipse enforce Liferay coding conventions #
See main article: Eclipse and Liferay coding conventions
See Also #
Optimal Liferay Core Development with Eclipse
Liferay IDE vs Liferay Developer Studio (TL;DR: LDS is an all-in-one Liferay and Eclipse bundle; LIDE are plugins you install on top of your Eclipse of choice.)