War file removed from reference application distribution

I’m not sure why, but war file has been removed from the distro zip in

It breaks the SDK, which downloads a zip and deploys a war and modules to a server. Once the war is removed we need a new way to determine the version of OpenMRS Platform to be deployed for the modules to work. I would simply leave the war file in the zip, but if there is a good reason to remove it we need at least a property file in the zip indicating the version of platform to be downloaded separately.

Since I made that pull request:

I’ll provide a synopsis/background here, based on our conversations in IRC:

  1. Our OpenMRS.org download page offers two main choices for downloading OpenMRS 2.3: Either download the 2.3 Standalone edition, or download Platform 1.(latest) and a ZIP file of modules.
  2. Since for the OpenMRS 2.2 and 2.3 releases, that “ZIP file of modules” as deployed to our Sourceforge file repository has not only contained the 2.x modules, but also the platform itself.
  3. As a result, people are downloading Platform twice and not only were downloading an extra 100 MB, but also were confused about how to proceed.

Based on that IRC conversation and a direct conversation with @wyclif, he requested that I make the commit/PR above. Before merging the PR, we wondered and assessed about any unforeseen dependencies (apparently, like this one!) but did not identify the SDK as being impacted or any other issues.

I am by no means “committed” to that change (sorry, bad pun!) so feel free to respond in whatever way works for all the dependency.

1 Like

I see! Personally I wouldn’t distribute war and modules separately. The distribution is war + modules so why to ask people to download them separately. Also if they happen to download a wrong war file then the modules will most likely fail. Maybe instead of removing the war we should change the instructions and include them in some readme file in the zip file as well?

1 Like

Some users may already have the war file and only need just the modules or some of the modules but am not sure if such users are many. But also why can’t the SDK download the 2 separately?

May be there could be another zip that bundle only the required modules for a particular version of reference application.

1 Like

SDK needs to know which version of war to get. The version could be stored in some property file in the zip of modules. It adds complexity, but it can be done.

Could we implement this by publishing the catalog under OpenMRS.org (or just a github text file I suppose) and querying that from the SDK, rather than coding it into the SDK?

This seems like a generally useful set of information you might want to access in other scripts also!

1 Like

FYI created: