not all files in META-INF/ copied

Hi,
I am currently using IDEA 6.0.1
I am facing a problem with my "Web Module" application.
I have a META-INF dir in root directory, and inside there are 2 files: persistence.xml and context.xml (both created manually by me). While context.xml is copied properly to META-INF in both exploded directory and .war file, the persistence.xml is not.
Also when I tried to use automatic Tomcat deployment, only context.xml is properly copied. Does anybody know how to solve this problem?

3 comments

You may need to register context.xml as custom deployment descriptor

leet wrote:

Hi,
I am currently using IDEA 6.0.1
I am facing a problem with my "Web Module" application.
I have a META-INF dir in root directory, and inside there are 2 files: persistence.xml and context.xml (both created manually by me). While context.xml is copied properly to META-INF in both exploded directory and .war file, the persistence.xml is not.
Also when I tried to use automatic Tomcat deployment, only context.xml is properly copied. Does anybody know how to solve this problem?



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

0

Most probably he meant to register persistence.xml as a custom deployment descriptor, as context.xml is already copied correctly... ;)

0

Please sign in to leave a comment.