How is it to move persistence.xml to another place in my project?
I have a ejb project with jpa facet enabled. The file persistence.xml is lying in the src/META-INF by default. I create
folders src/main/resource, mark it as the source folder and move the META-INF from src to src/main/resources. Then try
to build the project. The build process fails. The view Problems have a message "No persistence.xml file found in
project". How I can change paths to persistence.xml and META-INF?
Kaloyan Raev Messages: 177 Registered: July 2009 Location: Sofia, Bulgaria
Senior Member
I am not sure what do you try to achieve, but you can try playing with the
..settings/org.eclipse.wst.common.component file.
Greetings,
Kaloyan
"Denis Kostousov" <denis.kostousov@gmail.com> wrote in message
news:gddglj$2ja$1@build.eclipse.org...
> How is it to move persistence.xml to another place in my project?
>
> I have a ejb project with jpa facet enabled. The file persistence.xml is
> lying in the src/META-INF by default. I create folders src/main/resource,
> mark it as the source folder and move the META-INF from src to
> src/main/resources. Then try to build the project. The build process
> fails. The view Problems have a message "No persistence.xml file found in
> project". How I can change paths to persistence.xml and META-INF?
>
>
> --
> Denis Kostousov
> email: denis.kostousovATgmailDOTcom
> jabber: denis.kostousovATgmailDOTcom
> fingerprint: D32B A253 F678 9EF1 1079 4F5A 52E1 8EEA FAF9 E1F1