Converting Eclipse Projects into Liferay IDE Projects

Liferay IDE lets you import non-Liferay projects in your Eclipse workspace (i.e., you can see them in Eclipse’s Project Explorer) and convert them to Liferay projects.

This tutorial shows the steps required to accomplish this.

Converting Your Eclipse Project

  1. Move the project into a Liferay Plugins SDK, if it is not already in one. To import the project, select FileImport… and then follow the import instructions that appear.

  2. In Eclipse’s Project Explorer, right-click on the project and select LiferayConvert to Liferay plugin project.

  3. In the Convert Project wizard, your project is selected and the SDK location and SDK version of your project are displayed.

    Figure 1: The Convert Project wizard detects your Plugins SDKs the location and version.

    Figure 1: The *Convert Project* wizard detects your Plugin's SDK's the location and version.

  4. Select a Liferay Runtime to use for the project. If you don’t have a Liferay Runtime defined, define one now by clicking New….

  5. Click Finish.

Great! Now that you’ve imported and converted your project, you can work with it just as you would any other Liferay project.

Faceting a Plugin Project for Liferay IDE

Deploying Plugins

« Importing Projects from a Plugins SDKFaceting a Plugin Project for Liferay IDE »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています