Recommended way of doing customizations to OpenMRS Prior to 2.0

Isn’t the minimum birthdate limit enforced in the validators instead of the view?

I’m not sure. Haven’t actually looked at the code. Just guessed it’s a UI issue. I’m talking of this

From the image above you see that the bottom limit is 1958.

For that one, i would recommend that you simply raise a pull request against the 1.9.x branch where you change the hard coded 60 in showCalendar(this,60) to a setting via a global property:

That way, you do not have to fork. :smile:

1 Like

@dkayiwa thanks.

I’m having issues developing on 1.9.11.

  1. mvn clean install fails with, I’m forced to skip the tests. During the build I also get a lot of exceptions

  2. mvn jetty:run fails with plugin not found error. After skipping the build, I moved to webapp and tried to start the jetty server but I got this

So I decided to use tomcat since jetty won’t work with 1.9.11. I skipped the build. Copied the .war to tomcat webapp folder and started tomcat. I get this error during setup.

As for the compiler error, did you get a chance to look at this? Problems with the installation of openmrs openmrs-api

Thought versions of core below 2.0 should be compiled with Java 7? I’m trying to compile 1.9.11.

Java 7 is fine. But it should be the latest of 7

Ok. Let me upgrade my version of Java 7 then. What about the jetty plugin? There isn’t one in 1.9.x?

Finally found time to check. I do have the latest Java 7 installed.

@dkayiwa I had to downgrade maven to 3.0.4 for this build successfully. But I’m still having some troubles with jetty even though the error message has changed.

@dkayiwa while the jetty server starts now. It throws a lot of errors in the logs and accessing it from the browser returns 404.

Which version of the openmrs platform are you running?

OpenMRS Platform 1.9.11

What does this command return? mvn -v

When I had the build failures, the version of maven was 3.5. I’ve changed maven versions in an attempt to fix the problem and the current maven version is 3.1.0.

Does it work fine in tomcat?

No. I get mysql errors during set up. I’m having mysql 5.7. Could that be a problem?

What is in the logs?