Developer How-To Attach and View Source Code


The .classpath file in the root of the openmrs code specifies which libraries are where in the OpenMRS source code. Each classpath element can also specify where the java source files are for each library.

In openmrs, most libraries' source files are referenced like /openmrs-source/ehcache-1.2.4-src.zip. This tells eclipse to look for a project named openmrs-source and the specified zip file in it.


You can check out the openmrs-source project from http://svn.openmrs.org/openmrs-contrib/source