I've made a portlet in Eclipse and now I'd like to deploy it to a running Liferay-6.1 instance and debug it. I guess this should be described in documentation, but I was only able to found how to create the portlet, but not how to deploy it.
5 Answers
Here is a screenshot which shows how-to deploy Liferay portlet directly from Eclipse

- 12,407
- 12
- 64
- 88
-
2For clarification, you need to right-click on the project name for this menu. It took me a while to realize this when I couldn't find these options from the main menu - but this screenshot led me to it. – lookdad Apr 06 '17 at 15:13
How to deploy a portlet in Eclipse (using Liferay IDE) is documented here. This assumes that you have installed Liferay IDE, then created a Liferay Server adapter, and then created a project using New Liferay Project wizard.

- 5,220
- 1
- 28
- 45
After completion of developing the portlet go to the browser open the localhost sign in and then-->Goto Add--->more-->expand the sample--->Select Add

- 137
- 4
If you have a plugin project, but you need to deploy it onto your Liferay Server. Let’s do it now:
Select your new plugin project then right click the Liferay Server in the Servers tab;
Select Add and Remove….
Select your plugin project and click Add to deploy it to the server.
Click Finish.
You should see the project get deployed to Liferay Tomcat server; in the console you’ll see a message indicating your new portlet is available for use.

- 61
- 1
- 2
- 8