I am building OpenMRS in jdk 1.7.0_02 for sometime now.
Now I'm using 1.7.0_03 and trunk builds fine for me

I wonder if you have an older version of JDK 7 (below 1.7.0_02 had this
bug) that maven might be using and you have JRE 1.7.0_02 installed

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


On 28 February 2012 22:17, Ben Wolfe <[email protected]> wrote:

> Was this while running "mvn clean install" at the root of the project (so
> that all projects are rebuilt) ?
>
> Ben
>
>
> On Mon, Feb 27, 2012 at 10:26 PM, Sokha RUM <[email protected]> wrote:
>
>> Thanks Darius, now i can build it. But during building, i got another
>> error
>> while building openmrs-web. Could you please help ?
>>
>>
>> See the error log:
>> [INFO] Building jar:
>>
>> C:\works\workspace\openmrs_trunk\api\target\openmrs-api-1.10.0-SNAPSHOT-tests.jar
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing
>>
>> C:\works\workspace\openmrs_trunk\api\target\openmrs-api-1.10.0-SNAPSHOT.jar
>> to C:\Users\sokha\.m2\repository\org\openmrs\api\openmrs
>> -api\1.10.0-SNAPSHOT\openmrs-api-1.10.0-SNAPSHOT.jar
>> [INFO] Installing
>>
>> C:\works\workspace\openmrs_trunk\api\target\openmrs-api-1.10.0-SNAPSHOT-tests.jar
>> to C:\Users\sokha\.m2\repository\org\openmrs\api\o
>> penmrs-api\1.10.0-SNAPSHOT\openmrs-api-1.10.0-SNAPSHOT-tests.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building openmrs-web
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting directory C:\works\workspace\openmrs_trunk\web\target
>> [INFO] [buildnumber:create {execution: default}]
>> [INFO] Change the default 'svn' provider implementation to 'javasvn'.
>> [INFO] [build-helper:parse-version {execution: parse-version}]
>> [INFO] [java-formatter:format {execution: default}]
>> [INFO] Using 'UTF-8' encoding to format source files.
>> [INFO] Number of files to be formatted: 388
>> [INFO] Successfully formatted: 0 file(s)
>> [INFO] Fail to format        : 0 file(s)
>> [INFO] Skipped               : 388 file(s)
>> [INFO] Approximate time taken: 1s
>> [INFO] [resources:resources {execution: default-resources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 22 resources
>> Downloading:
>>
>> http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/directwebremoting/dwr/2.0.5-mod/dwr-2.0.5-mod.pom
>> 11K<http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/directwebremoting/dwr/2.0.5-mod/dwr-2.0.5-mod.pom%0A11K>downloaded
>>   (dwr-2.0.5-mod.pom)
>> Downloading:
>>
>> http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/directwebremoting/dwr/2.0.5-mod/dwr-2.0.5-mod.jar
>> 494K<http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/directwebremoting/dwr/2.0.5-mod/dwr-2.0.5-mod.jar%0A494K>downloaded
>>   (dwr-2.0.5-mod.jar)
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Compiling 341 source files to
>> C:\works\workspace\openmrs_trunk\web\target\classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR]
>>
>> \works\workspace\openmrs_trunk\web\src\main\java\org\openmrs\web\controller\customdatatype\CustomValueController.java:[103,84]
>> inconvertible t
>> ypes
>> found   : org.openmrs.customdatatype.CustomDatatypeHandler<capture#861 of
>> ?,capture#710 of ?>
>> required: org.openmrs.customdatatype.DownloadableDatatypeHandler<?>
>>
>> [INFO] 1error
>> [INFO] -------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> \works\workspace\openmrs_trunk\web\src\main\java\org\openmrs\web\controller\customdatatype\CustomValueController.java:[103,84]
>> inconvertible types
>> found   : org.openmrs.customdatatype.CustomDatatypeHandler<capture#861 of
>> ?,capture#710 of ?>
>> required: org.openmrs.customdatatype.DownloadableDatatypeHandler<?>
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 7 minutes 36 seconds
>> [INFO] Finished at: Tue Feb 28 10:19:47 ICT 2012
>> [INFO] Final Memory: 56M/121M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> _________________________________________
>>
>> 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]
>>
>
>

_________________________________________

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]

Reply via email to