Liferay is a Gartner Magic Quadrant Leader for the Sixth Year! Find out why
Tags: 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 #

Eclipse Tips and Tricks

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.)

0 Attachments
149942 Views
Average (3 Votes)
The average rating is 5.0 stars out of 5.
Comments
Threaded Replies Author Date
Nice work Bijan! Been meaning to doc this... Ray Augé April 18, 2010 2:21 PM
Hey can anyone tellme how to set up eclipse... Pankaj Sinha April 26, 2010 9:05 PM

Nice work Bijan! Been meaning to doc this forever. Now I don't have to. Thanks emoticon!
Posted on 4/18/10 2:21 PM.
Hey can anyone tellme how to set up eclipse environment for liferay portals...i want to make and debug portlets from eclipse rather than SDK...plz help
Posted on 4/26/10 9:05 PM.