Development Made Easy: Liferay IDE

Today was my first day playing with the Liferay IDE. It is really good! It basically streamlines all the little processes that create friction for Liferay developers and lets you handle everything from Eclipse.

I'm running Ubuntu 10.04 32-bit. Windows x64 was giving me grief with Eclipse, and Java 1.6.21 was also giving me grief with Helios. So here are my recommendations:

1) Use Java 1.6.20. I know that Oracle did come out with an updated 1.6.21 that supposedly works with Eclipse finally, but it's just too much of a hassle. 1.6.20 works like a charm.

2) Download a fresh eclipse. You might have other eclipse installations for your other work or whatever, but get a fresh one just for Liferay dev. That way you don't have to worry about things being screwy because you're sharing eclipse with some other work processes.

3) Use Helios. I did try to use Galileo for some things last week and it wasn't working out. Helios is stable as far as I know, provided you're using Java 1.6.20.

I followed this guide to get my IDE set up. Deploying my hello world portlet took a simple right click on my build file -> Run As... -> Ant Build

It not only deployed to my Liferay, but I was able to open the tomcat which was in my servers tab, and launch Liferay in debug mode *inside* eclipse. The guy next to me was impressed...I was too.

I still have to explore the other benefits of Liferay IDE, but so far so good. You can easily create a hook, ext plugin, or portlet. There are also two greyed-out buttons for themes and layouts. I am pretty excited for those to get un-greyed....

ブログ
When will it allow for creating Themes? This is pretty important!
Is it much better than using Netbeans with the Portal Pack?

I can easily debug and with it's directory deployment option I don't have pack a war each time I make a change.

But using the Portal Pack, it's a bit slow and I don't know if it will work with Liferay 6 (it works perfect with 5.2.x)
Hi Jaime,

I don't really know, I've never used Netbeans. I'm pretty new to Java development on the most part. I guess it doesn't hurt to install eclipse and the Liferay IDE if you wanna give it a shot. It also has debug mode -- not sure if it automatically runs the deploy script though. I feel like you might be able to configure that...

Warm regards,
Sam
Netbeans is really good, it makes development go very smoothly in our experience, but it's not available for 6 and no news of whether it will be since Oracle's purchase of Sun, who used to maintain it...
Incase you missed the release of Portal Pack 3.0.4 (For NetBeans 6.9) which supports Liferay 6, you can check it here

http://ranjansatya.wordpress.com/2010/09/01/portal-pack-3-0-4-is-available-now/