Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 490
Brummo Avatar asked Jul 23 '09 08:07

Brummo


1 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.

like image 126
Serxipc Avatar answered Nov 13 '22 01:11

Serxipc