Looks like the old custom properties have been removed from the omod
project's POM.. e.g.
<properties>
<MODULE_ID>${project.parent.artifactId}</MODULE_ID>
<MODULE_NAME>${project.parent.name}</MODULE_NAME>
<MODULE_VERSION>${project.parent.version}</MODULE_VERSION>
<MODULE_PACKAGE>${project.parent.groupId}.${project.parent.artifactId}</MODULE_PACKAGE>
</properties>
isn't in omod/pom.xml anymore. So the config.xml of the module needs to be
changed to use normal maven properties rather than custom properties, e.g.
<extension>
<point>org.openmrs.admin.list</point>
<class>@[email protected]</class>
</extension>
should become:
<extension>
<point>org.openmrs.admin.list</point>
<class>${project.parent.groupId}.${project.parent.artifactId}.extension.html.AdminList</class>
</extension>
Or put those custom property definitions back into omod/pom.xml
On 12 March 2012 06:46, Dr. Barry Levine <[email protected]> wrote:
> I'm using OpenMRS 1.8.4 on Windows 7. I downloaded Basic Module source,
> created the omod file, and uploaded to the running system. OpenMRS doesn't
> complain (however, I don't see the extension to the admin page), but I get
> the following error in the Tomcat log - thanks for your help:
>
> INFO - LoggingAdvice.invoke(109) |2012-03-11 16:11:59,625| In method
> AdministrationService.**saveGlobalProperty. Arguments:
> GlobalProperty=property: basicmodule.started value: false,
> INFO - LoggingAdvice.invoke(134) |2012-03-11 16:11:59,626| Exiting method
> saveGlobalProperty
> WARN - Module.expandExtensionNames(**498) |2012-03-11 16:11:59,676|
> Unable to load class for extension: org.openmrs.admin.list
> java.lang.**ClassNotFoundException: @[email protected].**
> html.AdminList
> at org.apache.catalina.loader.**WebappClassLoader.loadClass(**
> WebappClassLoader.java:1680)
> at org.apache.catalina.loader.**WebappClassLoader.loadClass(**
> WebappClassLoader.java:1526)
> at org.openmrs.module.**ModuleClassLoader.loadClass(**
> ModuleClassLoader.java:399)
> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**247)
> at org.openmrs.module.Module.**expandExtensionNames(Module.**java:487)
> at org.openmrs.module.Module.**getExtensions(Module.java:444)
> at org.openmrs.module.**ModuleFactory.stopModule(**
> ModuleFactory.java:863)
> at org.openmrs.module.**ModuleFactory.stopModule(**
> ModuleFactory.java:759)
> at org.openmrs.module.web.**controller.**ModuleListController.onSubmit(
> **ModuleListController.java:217)
>
> ______________________________**___________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-devel-l" in the body
> (not the subject) of your e-mail.
>
> [mailto:LISTSERV@LISTSERV.**IUPUI.EDU <[email protected]>
> ?body=SIGNOFF%**20openmrs-devel-l]
>
--
*Rowan Seymour*
tel: +250 783835665
http://twitter.com/rowanseymour
_________________________________________
To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
[email protected] with "SIGNOFF openmrs-devel-l" in the body (not
the subject) of your e-mail.
[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]