Hi Ben, Thanks a lot for the information. The "mvn clean install" did the trick. :)
Best Regards, Nimantha On Sun, Mar 18, 2012 at 4:15 AM, Ben Wolfe <[email protected]> wrote: > The pom.xml file is where those properties are specified and getting > filled in. You probably need to do an "mvn clean install" on the root > directory to get maven to update those properties correctly. > > See the "Hello and restarting issues" thread on the dev list from a few > weeks ago for more details. I assume you're editing files outside of an > auto-building environment? > > Ben > > On Sat, Mar 17, 2012 at 1:27 AM, Nimantha Baranasuriya < > [email protected]> wrote: > >> 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 >> >> >> ------------------------------ >> Click here to >> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from >> OpenMRS Developers' mailing list > > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list -- 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]

