Recent Bloggers

Manuel de la Peña

12 Publications
20 septembre 2017

Neil Griffin

57 Publications
13 septembre 2017

David H Nebinger

61 Publications
8 septembre 2017

Yanan Yuan

5 Publications
6 septembre 2017

Minhchau Dang

12 Publications
6 septembre 2017

Sarah Heiniger

3 Publications
4 septembre 2017

Dániel Jávorszky

1 Publications
4 septembre 2017

Pradeep Sharma

2 Publications
25 août 2017

William Jameson

11 Publications
24 août 2017

Andrew Jardine

3 Publications
18 août 2017

Some Improvements and New Features in Liferay IDE 2.0

General Blogs 25 mai 2014 Par Kuo Zhang

Hi, my name is Kuo Zhang(, and I'm working in the Liferay-IDE team in Dalian, China.
I'd like to introduce to you several new features and improvements added in Liferay IDE 2.0.

Improved new project wizard

Instead of listing all types of plugins, the wizard organizes the plugin types via a popup list, which makes the wizard more compact, and easier to add new types of plugins in the future.
The plugin description has been moved here.  Also, there are links in this dialog that opens the offical documentation for each plugin type.
For portlet and service builder plugin projects, the wizard allows you to choose if the sample code included in the project templeates are added to the new project.  If you don't add the sample code, then all of the entries normally added in the project descriptor files( eg: portlet.xml, liferay-portlet.xml, liferay-display.xml and service.xml) won't be added.  Also, if you want to add a new portlet right after a portlet project is created, now there is a convenivent way to do that, check the "Lanch New Portlet Wizard after project is created".  These options will be sticky, in that the wizard will remember your previou choices the next time you use the wizard.

Service.xml editor improvements

Two actions were added in the service.xml editor, "Add default columns" and "Add sample entity".
Default columns contain, primary keys, group instance, audit fields.  A sample entity is composed of default columns, order and find methods.
Properties encoding improvements
Eclipse uses ISO-8859-1 as the default encoding charset of files, while Liferay uses UTF-8 as default for some properties files( resource bundle files and language properties files).  A new feature has been added that can detect those files and use UTF-8 as default when you're creating them.
Also, a new validator has been added that puts warning markers on those non-default encoding properties files and provides the fixes.
There are two ways to fix that: 
1) right click the file or the project and choose encode the only file or all non-default encoding properties files to default.
2) right click the marker in Eclipse Markers Viewer, a quick fix is provided, right click the marker.
Tips: specific regular expressions are supported, "_" in resource bundle, "_" and "*" in language properties.
For instance, <resource-bundle>Foo_</resource-bundle> points to, if they exist.
<language-properties>Language*.properties</language-properties> can point to, if they exist.
Affichage de 1 résultat(s).