|
|
|
# Generator
|
|
|
|
|
|
|
|
Generator project is started with the goal to create the UI source-code based on entities.
|
|
|
|
|
|
|
|
# Working
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
The generation is based on the configuration. The configuration is based in the file `.generator.conf`. If not present it is auto created based on default values.
|
|
|
|
|
|
|
|
To display the current configuration:
|
|
|
|
~~~bash
|
|
|
|
mvn generator-ui:config
|
|
|
|
~~~
|
|
|
|
The configuration is showed in `YAML` format.
|
|
|
|
~~~yaml
|
|
|
|
---
|
|
|
|
config:
|
|
|
|
path.i18n: "src/main/resources/i18n/"
|
|
|
|
file.i18n: "messages"
|
|
|
|
package.ui: "com.virtorg.app.ui"
|
|
|
|
package.entities: "com.virtorg.spring.db.entities"
|
|
|
|
build: "Build by VirtOrg (www.virtorg.nl)"
|
|
|
|
path.resources: "src/main/resources/"
|
|
|
|
path.source: "vaadin-companies-component/src/main/java"
|
|
|
|
package.repositories: "com.virtorg.spring.db.repositories"
|
|
|
|
path.sourcedb: "vaadin-companies-db/src/main/java"
|
|
|
|
~~~ |