I have this project that contains a shell script that helps package the core and the modules into one single installation. I wish to ask if they are such distro project that helps perform this same action on a windows platform. All I have seen so far are Linux based.
I have one of such file but I have bee struggling to convert it to a bat file so it can work on windows.
I am using windows 8.1 and I have Java 8 installed with Maven 3.5.2.
Hello @ssmusoke, how do I run this file?. The current script I have written in Linux does the same thing as you described. This is a paste bin for your convenience (https://pastebin.com/g3id45DM). I will want that same functionality to be present in windows.
Please explain to me how to proceed with that link you sent. Thank you.
@femencha What I described only builds a war file containing the modules. If you add the code to the omod pom.xml this will happen whenever you run mvn clean install
You can then write a Windows batch file to copy the generated war file to your webapps folder
Hello @ssmusoke, I get the big picture of what it will do based on your description. So should clone the openmrs-module-aijar module and build it? If I understand building this will create a war file. Also if i got you right, if I add references to my modules in the omod of that project it will package them as well in the generated war file?
Hello @ssmusoke. Thank you for the detailed response.
“Delete any modules that you are not using” – from the {Application Data}/OpenMRS/modules/ folder right?
Hello @ssmusoke, sorry for disturbing again and thank you for help so far.
I have already developed a bunch of modules like 4 or 5. I don’t know if I am doing all the above in all my individual modules or what? or a custom module just meant for the packaging!