Re: [Acegisecurity-developer] build failed
Hi Ray, I have wiped everything in my working copy directory, then re-co'd everything and run mvn install, and still got the same errors. Attached is a patch containing the 3 tiny hacks I had to write for the project to compile. Maybe you have more insight than me to understand what was going wrong (except for the language issue). I'm still stuck with Eclipse. What IDE do you guys use, if any? Any hints about IDE usage would be very welcomed (.project .classpath anyone?) On Jan 12, 2008 9:51 PM, Ray Krueger [EMAIL PROTECTED] wrote: I had a bad file or two that was causing trouble. I blew those out and got fresh code from SVN and all is well. Candide be sure to run mvn install first and foremost. On Jan 11, 2008 1:01 PM, Ray Krueger [EMAIL PROTECTED] wrote: Yeah, I think we have a problem building on Windows. I had a problem this morning on my Windows laptop. Once I got into the office I pulled the code down to my linux workstation and simply ran mvn install, everything went off without a hitch. I'll look at it on my train ride home I think :) On Jan 11, 2008 11:50 AM, Candide Kemmler [EMAIL PROTECTED] wrote: I'm running java -version: java version 1.6.0 Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode) on Windows XP French I have 2Gb of RAM,... what else? Looks like at least one error is due to my system being in french :-( And for something else: I have problems using Eclipse I have everywhere messages of the form The hierarchy of the type xxx is inconsistent Any idea what can be done against it? Or, more simply: couldn't someone just hand me their .project and .classpath files? -- Candide Kemmler http://www.palacehotel.org/ 11/13 avenue Reine Marie-Henriette 1190 Bruxelles mobile:+32485067980 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer -- Candide Kemmler http://www.palacehotel.org/ 11/13 avenue Reine Marie-Henriette 1190 Bruxelles mobile:+32485067980 acegisecurity.patch Description: Binary data - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] build failed
I'm running java -version: java version 1.6.0 Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode) on Windows XP *French* I have 2Gb of RAM,... what else? Looks like at least one error is due to my system being in french :-( And for something else: I have problems using Eclipse I have everywhere messages of the form The hierarchy of the type xxx is inconsistent Any idea what can be done against it? Or, more simply: couldn't someone just hand me their .project and .classpath files? -- Candide Kemmler http://www.palacehotel.org/ 11/13 avenue Reine Marie-Henriette 1190 Bruxelles mobile:+32485067980 --- Test set: org.springframework.security.userdetails.jdbc.JdbcDaoImplTests --- Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec FAILURE! testLookupFailsIfUserHasNoGrantedAuthorities(org.springframework.security.userdetails.jdbc.JdbcDaoImplTests) Time elapsed: 0.016 sec FAILURE! junit.framework.ComparisonFailure: null expected:[User cooper has no GrantedAuthority] but was:[Le compte utilisateur cooper na pas de permissions] at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.springframework.security.userdetails.jdbc.JdbcDaoImplTests.testLookupFailsIfUserHasNoGrantedAuthorities(JdbcDaoImplTests.java:111) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) at org.apache.maven.surefire.Surefire.run(Surefire.java:132) 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879) --- Test set: org.springframework.security.userdetails.jdbc.JdbcUserDetailsManagerTests --- Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.266 sec FAILURE! createUserInsertsCorrectData(org.springframework.security.userdetails.jdbc.JdbcUserDetailsManagerTests) Time elapsed: 0.031 sec FAILURE! java.lang.AssertionError: expected:[EMAIL PROTECTED]: Username: joe; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: A, C, B but was:[EMAIL PROTECTED]: Username: joe; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: A, B, C at org.junit.Assert.fail(Assert.java:74) at org.junit.Assert.failNotEquals(Assert.java:448) at org.junit.Assert.assertEquals(Assert.java:102) at org.junit.Assert.assertEquals(Assert.java:117) at org.springframework.security.userdetails.jdbc.JdbcUserDetailsManagerTests.createUserInsertsCorrectData(JdbcUserDetailsManagerTests.java:89) 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
[Acegisecurity-developer] build failed
Hi All, My name is Candide Kemmler (http://www.palacehotel.org) and I'm very interested in using OpenID for authenticating users. The code is still in the sandbox and hence I need to build the code to test it. I told Ray Krueger about the following error, and he told me to share it with you. Thanks for your help quote I just co'd the code and tried to build it using maven. Got the following error... It's about ehcache configuration which causes tests to fail. Can you please help me to fix these? /quote Failed tests: testLookupFailsIfUserHasNoGrantedAuthorities(org.s pringframework.security.user details.jdbc.JdbcDaoImplTests) createUserInsertsCorrectData(org.springframework.s ecurity.userdetails.jdbc.Jdb cUserDetailsManagerTests) updateUserChangesDataCorrectlyAndClearsCache(org.s pringframework.security.user details.jdbc.JdbcUserDetailsManagerTests) Tests run: 1071, Failures: 3, Errors: 0, Skipped: 0 2008-01-11 16:07:29,702 INFO net.sf.ehcache.CacheManager - VM shutting down with the CacheManager still active. Calling shutdown. 2008-01-11 16:07:29,702 INFO net.sf.ehcache.CacheManager - VM shutting down with the CacheManager still active. Calling shutdown. 2008-01-11 16:07:29,702 INFO net.sf.ehcache.CacheManager - VM shutting down with the CacheManager still active. Calling shutdown. 2008-01-11 16:07:29,702 INFO net.sf.ehcache.CacheManager - VM shutting down with the CacheManager still active. Calling shutdown. 2008-01-11 16:07:29,702 INFO net.sf.ehcache.CacheManager - VM shutting down with the CacheManager still active. Calling shutdown. 2008-01-11 16:07:29,702 INFO net.sf.ehcache.CacheManager - VM shutting down with the CacheManager still active. Calling shutdown. 2008-01-11 16:07:29,718 INFO org.springframework.context.support.GenericApplica t ionContext - Closing org.springframework.context.support.GenericApplicationConte [EMAIL PROTECTED]: display name [org.springframework.context.support.GenericApplication [EMAIL PROTECTED]; startup date [Fri Jan 11 16:06:54 CET 2008]; root of context h ierarchy 2008-01-11 16:07:29,718 INFO org.springframework.beans.factory.support.DefaultL i stableBeanFactory - Destroying singletons in org.springframework.beans.factory.s [EMAIL PROTECTED]: defining beans [userDetailsService,dao AuthenticationProvider,authenticationManager,acces sDecisionManager,securityIntec eptor,perfOfSecurity,sampleService,org.springframe work.aop.framework.autoproxy.B eanNameAutoProxyCreator]; root of factory hierarchy etc etc -- Candide Kemmler http://www.palacehotel.org/ 11/13 avenue Reine Marie-Henriette 1190 Bruxelles mobile:+32485067980 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer