Matheus Moreira
Matheus Moreira

Reputation: 2388

Eclipse, JPA 2.0 metamodel generator and Spring Roo working together

Is there a way to put Spring Roo and JPA 2.0 metamodel generator to work together?

I have a Spring Roo project and use Eclipse as IDE. I was able to configure the Eclipse project and maven pom.xml to use JPA 2.0 metamodel generator in the build/compile process. The problem is, the generator doesn't generate metamodel classes for Roo entities (that is, domain classes that are annotatted with @Roo* annotations).

I created an entity "by hand" and confirmed that the generator is properly configured. I suspect that the generator fail for Roo entities because it doesn't understand AspectJ IDT classes. Is there a way to make the generator work for Roo entities?

Oh, before I forget, these are my configurations:

I can give further details if necessary. Thanks in advance.

Upvotes: 5

Views: 2302

Answers (1)

bhagyas
bhagyas

Reputation: 3080

You should probably take a look at model2roo project.

http://code.google.com/p/model2roo/

Upvotes: -1

Related Questions