Hi everyone,
I took an update of the entire code base from trunk today, and when I
started by the application on Jetty, I got the following exception which I
hadn't come across before. Can some one please tell me how I can get this
issue resolved?
WARN - ModuleFactory.startModuleInternal(603) |2012-03-17 13:21:12,675|
Error while trying to start module: logic
org.openmrs.module.ModuleException: Module requires at least version
1.7.2.17710, Current code version is only
${parsedVersion.majorVersion}.${parsedVersion.m
I debugged the code to find the root cause and the issue is that for
the *checkRequiredVersion
*method of the *ModuleUtil *class the incorrect value of
"${parsedVersion.majorVersion}.${parsedVersion.m" is passed in as a
parameter as the OpenMRS version. I checked how the OpenMRS version is
found, and it is done by the following code.
public static final String OPENMRS_VERSION_SHORT =
THIS_PACKAGE.getSpecificationVersion() != null ?
THIS_PACKAGE.getSpecificationVersion() : getBuildVersionShort();
The question I have is, from where does this constant get the value from?
Is it from a pom.xml inside the project?
Best Regards,
Nimantha
--
Nimantha Baranasuriya
Web: http://www.nimantha.info
Blog: http://www.nimantha.info/blog
Photography: http://www.nimantha.info/photoblog;
http://www.flickr.com/photos/nimanthab
_________________________________________
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]