Yes Bruce, I am building it on Windows. I will update the patch as instructed by you.
Thanks for your prompt response. Regards, Chetan -----Original Message----- From: Bruce Godden [mailto:bruce.god...@oerc.ox.ac.uk] Sent: Wednesday, November 11, 2009 2:46 PM To: shindig-dev@incubator.apache.org Subject: RE: Error while building Are you building on Windows? If so, this sounds just like the problem I encountered a few days ago. There is an issue for it, SHINDIG-1223, which has a patch attached that fixes the problem for me. Bruce Godden Oxford e-Research Centre -----Original Message----- From: Chetan Arvind Bhatt (SaaS) [mailto:chetan_bh...@infosys.com] Sent: 11 November 2009 05:52 To: shindig-dev@incubator.apache.org Subject: Error while building Hi, I was trying to build Shindig by following instructions given at the below mentioned url: http://incubator.apache.org/shindig/developers/java/build.html When I ran the "mvn" command, it gave the below error. Am I missing something here? Please advise... Regards, Chetan ########################################################################################### WARNING: wow OAuth error [error, errorText] for application http://app/example.xml. Request trace: ==== Original request: GET / Host: originalrequest X-Shindig-AuthType: none X-shindig-dos: on ==== ==== Sent request 1: ==== Received response 1: ==== Nov 11, 2009 5:41:23 AM org.apache.shindig.gadgets.oauth.OAuthResponseParams logDetailedWarning WARNING: new runtime OAuth error [error, errorText] for application http://app/example.xml. Request trace: ==== Original request: GET / Host: originalrequest X-Shindig-AuthType: none X-shindig-dos: on ==== ==== Sent request 1: ==== Received response 1: ==== java.lang.RuntimeException at org.apache.shindig.gadgets.oauth.OAuthResponseParamsTest.testNullSafe(OAuthResponseParamsTest.java:169) 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:585) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running org.apache.shindig.gadgets.GadgetTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec Running org.apache.shindig.gadgets.servlet.JsonRpcHandlerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec Running org.apache.shindig.gadgets.GadgetELResolverTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.apache.shindig.gadgets.rewrite.image.PNGOptimizerTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec Results : Tests in error: registerFromFileFeatureXmlFileScheme(org.apache.shindig.gadgets.features.FeatureRegistryTest) registerFromFileFeatureXmlNoScheme(org.apache.shindig.gadgets.features.FeatureRegistryTest) registerFromFileInNestedDirectoryFeatureXmlFile(org.apache.shindig.gadgets.features.FeatureRegistryTest) Tests run: 967, Failures: 0, Errors: 3, Skipped: 1 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to D:\WORKING FOLDER\Shindig\src\shindig\java\gadgets\target\surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 minutes 26 seconds [INFO] Finished at: Wed Nov 11 05:41:23 GMT 2009 [INFO] Final Memory: 45M/63M ########################################################################################################### **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***