Hi Ben, This was a problem of JDK version used. Previously I was using 1.6.0_17, once upgraded in to the 1.6.0_30 it works as expected. Anyway thanks for the help.
Cheers, Lasantha On Mon, Mar 19, 2012 at 5:41 AM, Lasantha Ranaweera <[email protected]>wrote: > Hi Devs, > > I am getting a compilation error in the OpneMRS trunk. System > configurations and error provided in below. Help would be highly > appreciated. > > *1. Checkout source code from OpenMRS trunk * > svn checkout http://svn.openmrs.org/openmrs/trunk/ openmrs-trunk > > *2. Java and maven configurations > > *java -version > java version "1.6.0_17" > Java(TM) SE Runtime Environment (build 1.6.0_17-b04) > Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode) > > mvn -version > Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530) > Java version: 1.6.0_17 > Java home: /media/truecrypt1/installation/jdk1.6.0_17/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "3.0.0-16-generic" arch: "amd64" Family: "unix" > > *3. Error * > > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /media/truecrypt2/openmrs-trunk/web/src/main/java/org/openmrs/web/controller/customdatatype/CustomValueController.java:[103,84] > inconvertible types > found : org.openmrs.customdatatype.CustomDatatypeHandler<capture#837 of > ?,capture#276 of ?> > required: org.openmrs.customdatatype.DownloadableDatatypeHandler<?> > > [INFO] 1error > [INFO] ------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > /media/truecrypt2/openmrs-trunk/web/src/main/java/org/openmrs/web/controller/customdatatype/CustomValueController.java:[103,84] > inconvertible types > found : org.openmrs.customdatatype.CustomDatatypeHandler<capture#837 of > ?,capture#276 of ?> > required: org.openmrs.customdatatype.DownloadableDatatypeHandler<?> > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.BuildFailureException: Compilation failure > /media/truecrypt2/openmrs-trunk/web/src/main/java/org/openmrs/web/controller/customdatatype/CustomValueController.java:[103,84] > inconvertible types > found : org.openmrs.customdatatype.CustomDatatypeHandler<capture#837 of > ?,capture#276 of ?> > required: org.openmrs.customdatatype.DownloadableDatatypeHandler<?> > > > > > Kind regards, > Lasantha > > _________________________________________ 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]

