New Release - Liferay IDE 2.0 Milestone 1
General Blogs August 28, 2013 By Gregory Amerson Staff
We here on the IDE team are pleased to announce the new release of Liferay IDE: Liferay IDE 2.0 Milestone 1. Since this is an Eclipse release all you need is to use the following update site url in the Help > Install New Software... dialog.
- 6.2.0 Beta Liferay Portal CE support
- Support for Liferay Maven projects (m2e-liferay)
- Support for Plugin SDK projects that use Ivy (IvyDE integration)
- Freemarker debugger for theme templates
- Over 200 bug fixes, enhancements and improvements
Liferay Portal 6.2 Support
Liferay Maven Project Support - New m2e-liferay Feature
Ivy support for Plugins SDK projects
In the latest version of the portal 6.1.2, 6.1.30, and upcoming 6.2.0 Ivy support has been added to the Plugins SDK. So now some of the projects created by SDK will come with their own ivy.xml file for dependency management along with the common infrastructure for Ivy (cache dir) residing in the root of the Plugins SDK. In order for these projects to work full in Eclipse (all classes compile) we need to enable Ivy dependency management for Eclipse. This is going to be accomplished by integrating the great work by the IvyDE team, using their plugin for Eclipse (IvyDE) to support Ivy enabled Liferay plugin projects.
Included in the 2.0M1 release is a new feature for debugging Freemarker templates executed for Liferay theme plugins. This feature creates a Freemarker debugger client integrated with Eclipse debug view. When you launch a Liferay Portal 6.2 Server in "Debug" mode it will automatically enable the embedded Freemarker debugger. Then you can add breakpoints to any FTL file that is opened with the Liferay Freemarker Editor. When the Portal evaluates those FTL templates it will pause execution and activate the debug view Eclipse.
You can then inspect variables, step, resume as you would expect in normal java debugger.
Also you can suspend the calling Java thread in order to see the stacktrace from Liferay that calls into the Freemarker template engine.
- Various Layout Template Visual Editor improvements
- Remote server adapter supports proxy servers
- Portlet wizard now supports adding portlets to Control Panel
We really need the communities help in providing feedback on this milestone release. Especially issues involved in migrating from IDE 1.6.x projects, or using Maven and Ivy enabled projects. Also since the Maven support (m2e-liferay) is in its first version so there are going to be some rough edges to be smoothed out in the upcoming milestone releases. But the quality will be much better if the community will report issues they have with 2.0M1. Post issues to Liferay IDE Forums or the JIRA project.
Before I finished this blog post I wanted to mention a couple of words of thanks. Firstly, I need to mention my QA team members, Ashley Yuan and Vicky Wang that were in charge of QA for the 2.0M1 release. They have written lots of UI functional tests and regresion tests the past year as we have been working up to this release. A massive change in the codebase that this involved would have been impossible with their efforts. Thanks team!
Also special thanks goes out to a couple of other super-smart engineers, Neil Griffin and Mika Koivisto for all of their help with maven. Neil for being my maven mentor and Mika for fielding my pull requests and helping me understand the liferay-maven-plugin when both of those guys are super busy and have bigger fish to fry! :)