Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse with tomcat - eclipse modifies server.xml

I use tomcat with eclipse in 'Use tomcat installation' mode. My problem is, that eclipse overwrites tomcats server.xml every time, and deletes my crossContext="true" elements.

Should I use custom location? Or the eclipse setup is wrong?

Thanks!

like image 345
Anvar Avatar asked Mar 30 '11 11:03

Anvar


1 Answers

You can edit the equivalent configuration files inside your "Server" project/folder in the eclipse workspace. Those are the configuration files with which eclipse is overwriting the ones found under your Tomcat installation.

like image 158
JPS Avatar answered Sep 18 '22 13:09

JPS