Closed informancer closed 3 years ago
@informancer while this would be possible on Windows when MySQL is selected for automatic installation, it would not work with Windows when an exisiting MySQL instance is to be used, and it would not work in general on macOS and Linux where MySQL is to be installed by the user beforehand. In those cases, the installer needs the MySQL root password to be able to create the j-lawyer.org database.
However, there is still an option to "silently" install the j-lawyer.org server by using response files. You could see that as a way to provide all input (that the installer requests from the user) in the form of a file. This way, you could create such response file and then just provide it to the installer.
Here's more information on that feature: https://www.ej-technologies.com/resources/install4j/help/doc/installers/responseFile.html
seems like an sed works well :-)
Steps to reproduce:
Expected Result
The server configuration contains a password for the DB
Actual Result
in
/usr/local/j-lawyer-server/wildfly/standalone/configuration/standalone.xml
, in the jlawyerdb data source: