tags:

views:

10

answers:

1

I recently came back to using eclipse after 2 years of intellij. Things have changed.

Now when i try to run tomcat, it tries to publish my project to it. What the hell is publish?

What ever happened to pushing a war into the webapps directory and letting tomcat deploy it.

Right now my deployment is broken because of compilation errors. I have a feeling that eclipse is taking my project and copying it to webapps dir without first building it properly.

Can someone explain to me what exactly publishing does, and also how to turn it off and use tomcat like normal people?

+1  A: 

A the "Servers" view, you can double click on your Tomcat instance, to open the server settings editor.

There, at the upper right corner, you can find the Publishing options. Check the "Never publish automatically" option, and save.

With this it should be enough.

Oh, and by "Publishing", they kind of mean "Deploying", or "Copying to the deploy directory", depending on what server you are using.

Tomas Narros