Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse detects new projects as JPA projects #114

Open
rdwallis opened this issue May 11, 2015 · 6 comments
Open

Eclipse detects new projects as JPA projects #114

rdwallis opened this issue May 11, 2015 · 6 comments

Comments

@rdwallis
Copy link
Contributor

Causes missing persistence.xml errors.

Partial work around:

Create an empty persistence.xml file in src/main/resources/META-INF

Delete the persistence.xml file from src/main/java/META-INF

@branflake2267 branflake2267 added bug and removed bug labels May 11, 2015
@branflake2267
Copy link
Contributor

Oops, wrong project. I've notice GPE doing this in Eclipse.

@rdwallis
Copy link
Contributor Author

Haha no worries. Will blame this on GPE anyway :)

@branflake2267
Copy link
Contributor

I think this could be fixed upstream. I've already added some better detection logic for the jpa path when using maven.

@rdwallis
Copy link
Contributor Author

Oh good do you have an eta on release? Or should I update the gwtp templates to include the empty persistence.xml file?

@branflake2267
Copy link
Contributor

Might want to try the preview release, I did add a gatekeeper, if the jdo-jpa artifact doesn't get added to the pom.xml, then the jpa/jdo builder is removed and jpa facet turned off.

@rdwallis
Copy link
Contributor Author

Ok just checked and I added an empty persistence.xml file to the gwtp
project template a while ago to fix the JPA problem. Might be causing
issues now if that problem has been fixed.

On Mon, May 11, 2015 at 8:23 PM, Brandon Donnelson <[email protected]

wrote:

Might want to try the preview release, I did add a gatekeeper, if the
jdo-jpa artifact doesn't get added to the pom.xml, then the jpa/jdo builder
is removed and jpa facet turned off.


Reply to this email directly or view it on GitHub
#114 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants