Howto specify which files to go to META-INF in a war file?
I'm using Tomcat 6.0.16, Ubuntu Hardy, Java 1.6.0_06, Idea 7.0.3 and 7782. I have a context.xml for Tomcat 6.0 like this:
]]>
As far as I understand, this context.xml file must be in the META-INF directory of the war file which is deployed in Tomcat 6.0. How can I tell Idea to add this file in that directory?
If you use Spring, JPA and Tomcat, could you look at this bug http://www.jetbrains.net/jira/browse/IDEA-17612 (I'm not the person who created it)?
Regards.
Please sign in to leave a comment.
Hello Thai,
Make sure that:
1. META-INF directory is under a web resource directory of the facet you
deploy.
2. "context.xml" file name matches any of the patterns listed in Project
Settings / Compiler / Resource patterns.
Alexander.