tagbangers / wallride

multilingual easy-to-customize open source CMS made by Java
http://wallride.org/
Apache License 2.0
96 stars 81 forks source link

Domain objects ending with the underscore(_) #87

Closed extenditus closed 7 years ago

extenditus commented 7 years ago

I imported the project into eclipse and it seems like domain objects ending with the underscore are missing. I am guessing I am missing a jar file or I need to run a process to generate the domain objects.

e.g. org.wallride.domain.Category org.wallride.domain.Article

Where are these objects?

bourbonizable commented 7 years ago

Hi @extenditus ! WallRide uses JPA Static Metamodel Generator. Please enable Annotation Processing in accordance with your development environment.

Here is the reference URL below: https://docs.jboss.org/hibernate/orm/5.0/topical/html/metamodelgen/MetamodelGenerator.html

In case of Eclipse, 1 Right-click walllride-core project > Properties 2 In Java Compiler > Annotation Processing, enable annotaion processing 3 In Java Compiler > Annotation Processing > Factory Path, add hibernate-jpamodelgen.jar to processors 4 Build the project

extenditus commented 7 years ago

Thanks Alisa - It worked out fine. Thanks for the link on meta model generators also.

On Sun, May 14, 2017 at 8:43 PM, Alisa Sasaki notifications@github.com wrote:

Hi @extenditus https://github.com/extenditus ! WallRide uses JPA Static Metamodel Generator. Please enable Annotation Processing in accordance with your development environment.

Here is the reference URL below: https://docs.jboss.org/hibernate/orm/5.0/topical/html/metamodelgen/ MetamodelGenerator.html

In case of Eclipse, 1 Right-click walllride-core project > Properties 2 In Java Compiler > Annotation Processing, enable annotaion processing 3 In Java Compiler > Annotation Processing > Factory Path, add hibernate-jpamodelgen.jar to processors 4 Build the project

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tagbangers/wallride/issues/87#issuecomment-301356933, or mute the thread https://github.com/notifications/unsubscribe-auth/AATge4Z8B09bpgrccUk-g6cLUtMFq9dRks5r562mgaJpZM4NTYl6 .

-- Thanks, Osagie Uwaifo

bourbonizable commented 7 years ago

Good to hear that! I'll close this issue now, if you have any problems, please open a new issue! Thank you.