That sounds like a good idea to me
So we could have
ant db-create
ant db-check
ant db-update
db-create could be based on <entity-data-reader name="none"/>
db-check on CheckDb.groovy
and db-update on db-create
Disclaimer: only thinking out loud to start the discussion :)
Jacques
Le 29/03/2016 12:16, Pierre Smits a écrit :
Hi all,
Currently we have the various ant tasks to instantiate the OFBiz
environment, such as:
- ./ant start
- various ./ant load- commands.
However, we don't have specific (separate) DEVOPS commands to help
instantiation and checking of the OFBiz environment. I am thinking of:
- a command to instantiate the database structrure, its tables and
indexes (based on the OFBiz entity definitions)
- a command to check the database structure against the OFBiz entity
definitions
- a command to update the database structure based on the OFBiz entity
definitions
It seems to me that having these commands would help OFBiz system admins
and in a more general way help adoption.
What are your thoughts?
Best regards,
Pierre Smits
ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services
OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/