How to tell Idea not to include persistence.xml in the war file?

I work with an ear application which has ejb, jpa and web facets. My persistence.xml is in META-INF which is in the source directory which is included in the ejb. Somehow Idea puts the persistence.xml in the war file also. How can I avoid that?

1 comment
Comment actions Permalink

Thai Dang Vu wrote:

I work with an ear application which has ejb, jpa and web facets. My persistence.xml is in META-INF which is in the source directory which is included in the ejb. Somehow Idea puts the persistence.xml in the war file also. How can I avoid that?


Vote for/comment on the corresponding issue in JetBrains' bug tracker:
http://www.jetbrains.net/jira/browse/IDEADEV-22630

0

Please sign in to leave a comment.