...
- The "version" attribute on the require_module element is available as of OpenMRS v1.5.
- You probably want to then take the other module's .omod file, put it in your module's lib-common folder, and add it as a library in your eclipse project's build path(Add it to the .classpath of your module and also add to your build.xml <include name="*/.omod"/> to the <fileset dir="lib-common"> tab and ant should be able to see it too.
- The "require_modules" element must be after "require_version" and before "extension" in the config.xml file
With this example, if at least formentry version 1.8 is not installed, then this module will not start.
...
- The "aware_of_modules" element must be between "require_version" and "extension" in the config.xml file