Tomcat 5 and Idea 4.5

I have an xml file that defines all of the Tomcat ..... information about my webapp. If I put the ]]> element data into the server.xml IDEA removes the data when it creates it's copy of my conf folder.

What am I supposed to do with this data? The new Tomcat stuff in IDEA 4.5 is way bloated and confusing now...

2 comments

Hi,

If you really need customization on the server level (server.xml),
please, post the tracker request on this with the example file of your
customization.

Ray Krueger wrote:

I have an xml file that defines all of the Tomcat <Context>.....</Context> information about my webapp.

If I put the <Context> element data into the server.xml IDEA removes the data when it creates it's copy of my conf folder.

What am I supposed to do with this data? The new Tomcat stuff in IDEA 4.5 is way bloated and confusing now...



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

If you really need customization on the server level
(server.xml),
please, post the tracker request on this with the
example file of your
customization.

Ray Krueger wrote:

I have an xml file that defines all of the Tomcat

<Context>.....</Context> information about my webapp.


If I put the <Context> element data into the

server.xml IDEA removes the data when it creates it's
copy of my conf folder.



He is referring to the deployment descriptor file (or whatever it is called). The little Context XML fragment that lives in the conf folder.

I believe you just put a copy of the file in the tomcat folder that is set as your "base". When IDEA copies everything to start tomcat pulls your Context along with it. Make sure the file name and the context name match.

What am I supposed to do with this data? The new

Tomcat stuff in IDEA 4.5 is way bloated and confusing
now...


Maybe. But you couldn't do this at all before so on balance I'm happier now.


0

Please sign in to leave a comment.