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
-
Move the project into a Liferay Plugins SDK, if it is not already in one. To import the project, select File → Import… and then follow the import instructions that appear.
-
In Eclipse’s Project Explorer, right-click on the project and select Liferay → Convert to Liferay plugin project.
-
In the Convert Project wizard, your project is selected and the SDK location and SDK version of your project are displayed.
-
Select a Liferay Runtime to use for the project. If you don’t have a Liferay Runtime defined, define one now by clicking New….
-
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.