Populate db.driver if its missing from openvpms.properties
Description
If openvpms.properties is incomplete, toolbox prompts to run toolbox configure. However if db.driver is missing, this isn't populated, as its done as part of the build. To workaround this, populate db.driver if not present, set to com.mysql.jdbc.Driver
Environment
None
Activity
Show:
Tim Anderson August 5, 2021 at 12:25 AM
Toolbox now sources default values from default-openvpms.properties, embedded in the openvpms-tools jar.
openvpms.properties is now completely generated via toolbox configure. There is no longer a partially populated version included in the distribution
a default password is generated for the MySQL user
a --default option has been added to toolbox configure to generate openvpms.properties without prompting, using sensible defaults
If openvpms.properties is incomplete, toolbox prompts to run toolbox configure.
However if db.driver is missing, this isn't populated, as its done as part of the build.
To workaround this, populate db.driver if not present, set to com.mysql.jdbc.Driver