I was just wondering if the following features are available or planned for in the SDK:
Running a custom sql script on installation of a module - instead of the default one for Reference application
Adding server specific parameters to the server.properties file - port, debugging, forking etc so that they do not have to be specified on the command line. I am dealing with multiple servers with different configurations so would love to get rid of the text file containing the commands
On installation of a module or on a server setup? If you mean the latter then you can specify -DdbSql=path/to/dump.sql I don’t quite understand why you would want to do the former?
We have a way to specify debug port when setting up a server with -Ddebug=1045 (the wizard asks you about it, if you do not include it) or you can add debug.port=1045 to openmrs-server.properties in your server directory. I see the information about that is missing in SDK docs. We have https://issues.openmrs.org/browse/SDK-199 to address saving the tomcat port. You can create another issue for selecting the fork mode.
Yes, it’s meant to work that way. Moreover when you do openmrs-sdk:build-distro, it will set it up so that the sql is loaded as well when creating a db container