Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
devel:documentation:quickstart:dev:ide:eclipse [2019/05/20 11:17]
apeterova flyway
devel:documentation:quickstart:dev:ide:eclipse [2019/06/14 09:22]
doischert [Metamodel generation]
Line 69: Line 69:
   * rpt-impl   * rpt-impl
  
-This setup has to be done for modules **core-api**, **core-impl**, and other optional modules, which uses criteria api (e.g. **acc**, **example**, **rpt-impl**).+This setup has to be done for modules **core-api**, **core-impl**, and other optional modules, which uses criteria api (ie.**acc**, **example**, **rpt-impl**, **var**).
  
 **Note:** If you don't set metamodel generation, you will see Java problems like ''ExampleProduct_ cannot be resolved to a variable''. **Note:** If you don't set metamodel generation, you will see Java problems like ''ExampleProduct_ cannot be resolved to a variable''.
Line 76: Line 76:
   * Go to Project -> Properties -> Java Compiler -> Annotation Processing -> Factory path -> check "Enable project specific settings" and add external jar **hibernate-jpamodelgen.jar** (version 5.x.x). Artefact could be found in local maven repository or downloaded from any public maven repository.   * Go to Project -> Properties -> Java Compiler -> Annotation Processing -> Factory path -> check "Enable project specific settings" and add external jar **hibernate-jpamodelgen.jar** (version 5.x.x). Artefact could be found in local maven repository or downloaded from any public maven repository.
  
 +If this solution didn't help and you still see the ''ExampleProduct_ cannot be resolved to a variable'' error, you have to build the project in command line. Go to the relevant paths (e. g., /git/CzechIdMng/Realization/backend/rpt) and run ''mvn clean install''. Do this for every directory that shows this error.
  
 ====== Build the Project ====== ====== Build the Project ======
  • by koulaj