简体   繁体   中英

Simple steps to deploy and test portlet in Liferay

I would appreciate if someone could give few easy steps how to deploy and test portlet in Liferay portal. I tried to search of course but some of the tutorials doesn't apply to new versions, some were overcomplicated and some didn't work for me.

I have a one JSR-286 portlet which I want deploy (I have Tomcat bundle on 6.1 version), add it to same page and see if the portlet works. So if you can can give five steps or so how to do this I would be really grateful.

PS This seems to me like in the Boromir meme - one does not simply deploy portlet into Liferay:-)

1.)Run the ant deploy script

2).Log in to the portal with your default administrator credentials

3). On any page, click Add in the Dockbar and select More

4). By default, the portlet you just created would be under the Sample category. Click the Add button next to whatever portlet you just deployed

Good luck let me know if you have any questions

The best way to deploy portlets in liferay is hot deployment.

Check this link.. Surely it will work

http://docs.liferay.com/portal/4.2/official/liferay-portlet-development-guide-4.2/multipage/ch04.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM