Java developers use a wide variety of tools and development environments. Liferay makes every effort to remain tool agnostic, so you can choose the tools that work best for you. To that end, we provide a Plugins Software Development Kit (SDK) based on Apache Ant that can be used along with any editor or Integrated Development Environment (IDE). Much of this guide uses the Plugins SDK and a text editor, but use whatever tool you’re most comfortable with. As an alternative to the Plugins SDK, in Chapter 10 we discuss Liferay IDE, a plugin for Eclipse that simplifies development for Liferay.

We discuss the following topics in this chapter:

  • Initial Setup: Install the Plugins SDK and configure it to use with your Liferay Portal server.
  • Structure of the SDK: Where to develop your plugin within the SDK and what Apache Ant targets are available.
  • Best Practices: Helpful ways for organizing your plugin projects.

Setting up the Plugins SDK is easy. Let’s get to it.

Installing the SDK

The first thing you should do is install Liferay Portal. If you haven’t already installed a Liferay bundle, follow the instructions in the Installation and Setup chapter of Using Liferay Portal....

Read More

Structure of the SDK

Each folder in the Plugins SDK contains scripts for creating new plugins of that type. Here is the directory structure of the Plugins SDK: liferay-plugins-/ - Plugins SDK root directory....

Read More

Best Practices

The Plugins SDK can house all of your plugin projects enterprise-wide, or you can have separate Plugins SDK projects for each plugin. For example, if you have an internal Intranet using Liferay...

Read More


Now your Plugins SDK is configured, you know the directory structure and available targets, and you’ve learned some best practices. You’re ready to start developing plugins using Liferay’s Plugins...

Read More
0 (0 Votes)
Choosing your development tools Previous