Does someone know how we can create a new component in Apache OFBiz latest version 16.11.01. Earlier it was using ant create-component
to create a component but the new version uses Gradle.
The new command is:
gradlew createPlugin -PpluginId=myplugin
where myplugin
is the name of the new component. Please refer to the README.md
file in the OFBiz home folder for further details, in the section "Create a new plugin". Once the component is created, you should load its data (required to grant access rights to the admin
user); you can easily do this by loading the demo data of OFBiz with the command:
gradlew loadDefault
You can also delete the component with the command:
gradlew removePlugin -PpluginId=myplugin