Liferay IDE Non-Tomcat Server Bundles
How To Use Liferay IDE with Other Server Bundles#
It is possible to use Liferay IDE with non tomcat server bundles but there are some features/benefits that will not be available:
- Native eclipse server adapter that supports launching and debugging
- Deployment via add/remove modules... wizard
- auto redeployment based on changes to project resources
However you still can setup new Liferay projects perform all of your other development related tasks like creating, compiling, editing and sharing project files. Then when it is time to deploy to the server for testing you will have to use SDK actions for deployment instead of using the Eclipse server adapter.
JBoss and Glassfish bundles #
For JBoss and glassfish (and tomcat if you wish) you can use the Remote Liferay Server adapter support in Liferay IDE. This allows a remote Liferay server that is already running to act like a local server and Liferay IDE communicates remotely with the Liferay server. This requires the server-manager-web plugin to be deployed in the remote liferay instance. See more info here.
Steps for using all other bundles #
- Following the getting started guide for Liferay IDE with the Tomcat server bundle here: Liferay IDE Getting Started Documentation
- Setup your other Liferay server bundle
- Go into your SDK directory and setup build.<username>.properties to point to your server bundle
- Make sure the following properties are set correctly: app.server.portal.dir,app.server.lib.global.dir,app.server.deploy.dir,app.server.type,app.server.dir
- In Eclipse go to Window > Preferences > Liferay > Installed SDKs, change the setting at the bottom "Update build.<username>.properties before SDK is used" to "Never"
- Create your Liferay project, use the SDK that you have configured with your build.<username>.properties
- Start the server bundle
- Deploy your project by right-clicking the project and choosing the "Liferay > SDK > deploy"
Now you should see the Liferay project war created and deployed to the liferay auto deploy folder and then it should be deployed to Liferay server.