How to disable the "autodeploy" to server feature in an Eclipse web project

Viewed 34266

I am using Eclipse (J2EE Galileo) and have created a dynamic web project and associated it with a server (JBoss).

Now, whenever I make changes to one of my JSP pages, Eclipse will build and autodeploy the WAR file to the server. This is sometimes useful, but sometimes more in the way for me.

I would like to disable this feature, and instead just use the "publish" feature to deploy whenever I want. I still want to run the server from within Eclipse.

But I cannot find a setting for this, can someone give me a hint?

3 Answers

Open the servers view. (Window -> Show view -> Servers)

From the servers view open your server configuration and will show a page with your server name, runtime environment, etc.

In that page there will be a collapsed panel titled 'publishing' that let's you configure when to publish or disable the automatic publishing.

The Rational Application Developer RAD (which is based on Eclipse) has this option hidden inside the ‘Server’ View in the upper right corner.

Rational Application Developer

Under Project -> Build automatically has to be unchecked.

Related