Errors while building OpenMRS-CORE

@dkayiwa I have but still fails to build. And it fails while building the openmrs - api.

Can you share the full build log via pastebin.com?

@dkayiwa the steps have worked on the cloned openmrs-core that was already on my device and it has built successfully eventually.

In my troube shooting I had tried to clone fresh openmrs-core again in another location and build it but that one failed with this log Error Log for Core - Pastebin.com.

I think the issue there is you have a path with spaces in it for where you installed OpenMRS. Hence:

java.io.FileNotFoundException: /home/suubi7/OpenMRS%20Tickets/TRUNK-5362/openmrs-core/api/target/test-classes/org/openmrs/module/include/testJarExpand.omod

The %20 is from the URL-encoded version (something like: file:///home/suubi7/OpenMRS%20Tickets/TRUNK-5362/openmrs-core/api/target/test-classes/org/openmrs/module/include/testJarExpand.omod), which is a bug, but if you check it out in a directory w/o spaces, Iā€™d expect that test to pass.

2 Likes

Thanks @ibacher This works just fine build successful.