Are you using Java 6 or Java 7? I suspect that OpenMRS trunk might not build with Java 7...
-Darius On Fri, Feb 10, 2012 at 9:51 PM, Lasantha Ranraawee <[email protected]>wrote: > ** > No luck yet. Getting new error now. Help would be very much appreciated. > > /Lasantha > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.BuildFailureException: Compilation failure > /media/truecrypt4/openmrs/web/src/main/java/org/openmrs/web/controller/customdatatype/CustomValueController.java:[103,84] > inconvertible types > found : org.openmrs.customdatatype.CustomDatatypeHandler<capture#128 of > ?,capture#910 of ?> > required: org.openmrs.customdatatype.DownloadableDatatypeHandler<?> > > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.CompilationFailureException: > Compilation failure > /media/truecrypt4/openmrs/web/src/main/java/org/openmrs/web/controller/customdatatype/CustomValueController.java:[103,84] > inconvertible types > found : org.openmrs.customdatatype.CustomDatatypeHandler<capture#128 of > ?,capture#910 of ?> > required: org.openmrs.customdatatype.DownloadableDatatypeHandler<?> > > > at > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:613) > at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:116) > > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > ... 17 more > > > > > On 02/08/2012 04:56 PM, Saptarshi Purkayastha wrote: > > It builds fine on the CI and my local machine > > The only other thing that I might recommend is to manual delete all the > files from the tmp (Linux) or %TEMP% (Windows) or wherever temp is pointing > to on ur setup. And then do a clean and build of the source > > --- > Regards, > Saptarshi PURKAYASTHA > > My Tech Blog: http://sunnytalkstech.blogspot.com > You Live by CHOICE, Not by CHANCE > > > On 8 February 2012 16:12, Lasantha Ranraawee <[email protected]>wrote: > >> Yep did it. >> >> But still there is no luck. Do I need to remove anything from repository ? >> >> /Lasantha >> >> >> On 02/08/2012 01:08 PM, Daniel Kayiwa wrote: >> >> >> Hi Lasantha, >> >> Can you do an svn update of your trunk now? >> Then do an mvn clean install and tell us how it goes. >> >> >> On Wed, Feb 8, 2012 at 3:35 AM, Lasantha Ranraawee < >> [email protected]> wrote: >> >>> Dear All, >>> >>> I am getting following test case failure in the latest trunk code. Help >>> would be appreciated. >>> >>> >>> Regards, >>> Lasantha >>> >>> >>> Results : >>> >>> Failed tests: >>> >>> >>> deleteOldLibCaches_shouldReturnOnlyCurrentCacheFolders(org.openmrs.util.OpenmrsClassLoaderTest) >>> >>> Tests run: 2005, Failures: 1, Errors: 0, Skipped: 24 >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] There are test failures. >>> >>> Please refer to /media/truecrypt4/openmrs/api/target/surefire-reports >>> for the individual test results. >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Trace >>> org.apache.maven.BuildFailureException: There are test failures. >>> >>> Please refer to /media/truecrypt4/openmrs/api/target/surefire-reports >>> for the individual test results. >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >>> at >>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >>> at >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >>> Caused by: org.apache.maven.plugin.MojoFailureException: There are test >>> failures. >>> >>> Please refer to /media/truecrypt4/openmrs/api/target/surefire-reports >>> for the individual test results. >>> at >>> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629) >>> at >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) >>> ... 17 more >>> >>> _________________________________________ >>> >>> 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] >>> >> >> >> >> -- >> If we keep uppermost in our minds the unkind and unjust acts of others, >> we shall find it impossible to love them as Christ has loved us; but if our >> thoughts dwell upon the wondrous love and pity of Christ for us, the same >> spirit will flow out to others. >> ------------------------------ >> 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 > > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list > _________________________________________ 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]

