...
<aware_of_modules>
<aware_of_module version="1.8">org.openmrs.module.formentry</aware_of_module>
</aware_of_modules>
Notes:
...
Compiling against the module
If you have a mavenized module:
- In your module's root pom.xml you need something like this:
Code Block <dependencyManagement> <dependencies> <!-- Depends on ZZZ module --> <dependency> <groupId>org.openmrs.module</groupId> <artifactId>themoduleid-api</artifactId> <version>1.0</version> <type>jar</type> <scope>provided</scope> </dependency> ... </dependencies> </dependencyManagement>
- In your module's omod/pom.xml you need something like this:
Code Block <dependency> <groupId>org.openmrs.module</groupId> <artifactId>themoduleid-api</artifactId> </dependency>
If your module is NOT using maven:
- Take the other module's .jar or .omod file, put it in your module's lib-common folder, and add it as a library in your eclipse project's build path.
Notes:
- The "aware_of_modules" element must be between "require_version" and "extension" in the config.xml file