Liferay Remote IDE Connector provides remote development and deployment support from Liferay IDE. With the help of this plugin, we may also enable the remote development and deployment to non-tomcat Liferay bundled.
This post shows the steps to setup the Liferay Remote IDE Connector and the target Liferay with JBoss bundled.
Theoretically, it should works fine with other server bundled as well.
Platform:
Liferay 6.1.1
Eclipse Juno
1. Make sure Liferay development environment is setup.
2. Download Server Manager Web plugin
Steps:
1. Start the Remote Liferay instance or local non-tomcat Liferay instance.
2. Deploy the Server Manger Web plugin into the target Liferay instance.
put the downloaded lpkg file into the <TARGET_LIFERAY>/deploy folder
3. Start eclipse, create Server Runtime with Liferay v6.x Runtime Stub
a) New Server Runtime Environment
Windows > Preferences > Server > Runtime Environments > Add > Liferay > Liferay v6.x Runtime Stub
b) Specify Liferay Portal bundle location - browse to the Liferay tomcat bundle setup in previous post.
c) Configure remote Liferay Server instance (or local Liferay with non-tomcat bundle)
p/s: Make sure the target Liferay instance is started
d) validate the connection > Finish > OK
Done Setup!!
Start using the Server Manager Web plugin
1. R-click on the server instance > Add and Remove...
2. Add any Liferay portlet into the configured list > Finish
3. Remote development is enabled. Thus, any changes made to configured portlet will automatically publish to the target Liferay instance.
Done!!
No comments:
Post a Comment