Yes, this is what he's saying. Move the xml file to src/main/resources/META-INF/ if you want it automatically picked up and put in META-INF in the resulting jar.
If you don't have a main folder, make one. This can also be configured in your pom but it is more complicated than simply moving the file. Wayne On 5/2/06, Anshuman Srivastava <[EMAIL PROTECTED]> wrote:
I want that my WAR file should contain peristence.xml. >> If you need to automagically get your persistence.xml in the archive, >> >>then >>just put it in src/main/resources/META-INF/persistence.xml and it'll end >>up in the correct place My peristence.xml is at root with pom.xml.So do I need to change the position of persistence.xml?I do not have any main folder inside src. ANshuman
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]