« Back to Liferay IDE

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 #

  1. Download
  2. Following the getting started guide for Liferay IDE with the Tomcat server bundle here: Liferay IDE Getting Started Documentation
  3. Setup your other Liferay server bundle
  4. Go into your SDK directory and setup build.<username>.properties to point to your server bundle
  5. 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
  6. 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"
  7. Create your Liferay project, use the SDK that you have configured with your build.<username>.properties
  8. Start the server bundle
  9. 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.

0 Attachments
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Threaded Replies Author Date
i have followed these steps but eclipse... Mohammed Harb October 14, 2012 4:48 AM

i have followed these steps but eclipse overwrites the build.<username>.properties file every time i deploy a new project ,, can you please help ?
Posted on 10/14/12 4:48 AM.