I just ran 'mvn clean test' and got a different error: Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.418 sec <<< FAILURE! testCDATA(org.apache.log4j.xml.XSLTLayoutTestCase) Time elapsed: 0.069 sec <<< FAILURE! junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertTrue(Assert.java:27) at org.apache.log4j.xml.XSLTLayoutTestCase.testCDATA(XSLTLayoutTestCase.java:115)
testLocationInfo(org.apache.log4j.xml.XSLTLayoutTestCase) Time elapsed: 0.314 sec <<< FAILURE! junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertTrue(Assert.java:27) at org.apache.log4j.xml.XSLTLayoutTestCase.testLocationInfo(XSLTLayoutTestCase.java:94) Results : Failed tests: testCDATA(org.apache.log4j.xml.XSLTLayoutTestCase) testLocationInfo(org.apache.log4j.xml.XSLTLayoutTestCase) Tests run: 217, Failures: 2, Errors: 0, Skipped: 0 With: Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 11:22:22-0400) Maven home: C:\Java\apache-maven-3.1.1\bin\.. Java version: 1.7.0_45, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_45\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" Gary On Thu, Nov 21, 2013 at 1:18 AM, Christian Grobmeier <grobme...@gmail.com>wrote: > Can somebody else help testing this on Windows? > I was not able to reproduce this, but on the other hand i lack the OS. > > > On 6 Nov 2013, at 16:43, Gary Gregory wrote: > > On Wed, Nov 6, 2013 at 9:35 AM, Christian Grobmeier <grobme...@gmail.com >> >wrote: >> >> On 6 Nov 2013, at 14:39, Gary Gregory wrote: >>> >>> On Wed, Nov 6, 2013 at 4:33 AM, Christian Grobmeier <grobme...@gmail.com >>> >>>> wrote: >>>>> >>>> The class files must have been left over from an old build. With "mvn >>>> clean >>>> package" I still get one error: >>>> >>>> Results : >>>> >>>> Failed tests: test1(org.apache.log4j.rolling.TimeBasedRollingTest) >>>> >>>> Tests run: 217, Failures: 1, Errors: 0, Skipped: 0 >>>> >>>> >>> Any chance to get more output? >>> >>> >> I got: >> >> test1(org.apache.log4j.rolling.TimeBasedRollingTest) Time elapsed: 2.48 >> sec <<< FAILURE! >> junit.framework.AssertionFailedError >> at junit.framework.Assert.fail(Assert.java:47) >> at junit.framework.Assert.assertTrue(Assert.java:20) >> at junit.framework.Assert.assertTrue(Assert.java:27) >> at >> org.apache.log4j.rolling.TimeBasedRollingTest.test1( >> TimeBasedRollingTest.java:134) >> >> Gary >> >> >> >>> For me the test works on cli and in IntelliJ. But I am on a mac. >>> >>> Actually the whole testing code is more than questionable these days. >>> >>> >>> >>> >>> Using: >>>> >>>> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >>>> 2013-09-17 >>>> 11:22:22-0400) >>>> Maven home: C:\Java\apache-maven-3.1.1\bin\.. >>>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc. >>>> Java home: C:\Program Files\Java\jdk1.6.0_45\jre >>>> Default locale: en_US, platform encoding: Cp1252 >>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >>>> >>>> Gary >>>> >>>> >>>> >>>> Let me know. >>>>> >>>>> Cheer >>>>> Christian >>>>> >>>>> >>>>> >>>>> Tests run: 521, Failures: 2, Errors: 18, Skipped: 0 >>>>> >>>>>> >>>>>> with: >>>>>> >>>>>> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >>>>>> 2013-09-17 >>>>>> 11:22:22-0400) >>>>>> Maven home: C:\Java\apache-maven-3.1.1\bin\.. >>>>>> Java version: *1.7.0_45*, vendor: Oracle Corporation >>>>>> >>>>>> Java home: C:\Program Files\Java\jdk1.7.0_45\jre >>>>>> Default locale: en_US, platform encoding: Cp1252 >>>>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >>>>>> >>>>>> and >>>>>> >>>>>> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >>>>>> 2013-09-17 >>>>>> 11:22:22-0400) >>>>>> Maven home: C:\Java\apache-maven-3.1.1\bin\.. >>>>>> Java version: *1.6.0_45*, vendor: Sun Microsystems Inc. >>>>>> >>>>>> Java home: C:\Program Files\Java\jdk1.6.0_45\jre >>>>>> Default locale: en_US, platform encoding: Cp1252 >>>>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >>>>>> >>>>>> Thoughts? >>>>>> >>>>>> Gary >>>>>> >>>>>> >>>>>> On Mon, Oct 21, 2013 at 4:20 AM, Christian Grobmeier < >>>>>> grobme...@gmail.com >>>>>> >>>>>> wrote: >>>>>>> >>>>>>> >>>>>> Hello >>>>>> >>>>>> >>>>>>> please vote to release Apache Log4j Extras 1.2.17.1. >>>>>>> >>>>>>> Site: >>>>>>> http://people.apache.org/~grobmeier/extras-12171 >>>>>>> (download path will be corrected at release time) >>>>>>> >>>>>>> Artifacts: >>>>>>> https://repository.apache.org/content/repositories/ >>>>>>> orgapachelogging-007/log4j/apache-log4j-extras/1.2.17.1/ >>>>>>> >>>>>>> (please note: I worked more closely to the Log4j2 release guide. All >>>>>>> artifacts are on the repository server, >>>>>>> including the previously damaged -bin artifact. Only -src and -bin >>>>>>> artifacts will be linked from the website later) >>>>>>> >>>>>>> You can easily download all artifacts using this command: >>>>>>> >>>>>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate >>>>>>> https://repository.apache.org/content/repositories/ >>>>>>> orgapachelogging-007/log4j/apache-log4j-extras/1.2.17.1/ >>>>>>> >>>>>>> Source tag: >>>>>>> http://svn.apache.org/repos/asf/logging/log4j/companions/ >>>>>>> extras/tags/apache-log4j-extras-1.2.17.1/ >>>>>>> >>>>>>> Changes to 1.2.17: >>>>>>> >>>>>>> The -bin artifact still contained duplicated classes, while the -src >>>>>>> artifact did not. This version removes >>>>>>> the duplicated classes from the artifact. >>>>>>> >>>>>>> Please cast your vote: >>>>>>> >>>>>>> [ ] +1, release >>>>>>> [ ] -1, do not release, because >>>>>>> >>>>>>> Thanks, >>>>>>> Christian >>>>>>> >>>>>>> >>>>>>> --- >>>>>>> http://www.grobmeier.de >>>>>>> @grobmeier >>>>>>> GPG: 0xA5CC90DB >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >>>>>> Java Persistence with Hibernate, Second Edition<http://www.manning. >>>>>> com/bauer3/> >>>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>>>> Spring Batch in Action <http://www.manning.com/templier/> >>>>>> Blog: http://garygregory.wordpress.com >>>>>> Home: http://garygregory.com/ >>>>>> Tweet! http://twitter.com/GaryGregory >>>>>> >>>>>> >>>>>> >>>>> --- >>>>> http://www.grobmeier.de >>>>> @grobmeier >>>>> GPG: 0xA5CC90DB >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org >>>>> For additional commands, e-mail: log4j-dev-h...@logging.apache.org >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >>>> Java Persistence with Hibernate, Second Edition<http://www.manning. >>>> com/bauer3/> >>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>> Spring Batch in Action <http://www.manning.com/templier/> >>>> Blog: http://garygregory.wordpress.com >>>> Home: http://garygregory.com/ >>>> Tweet! http://twitter.com/GaryGregory >>>> >>>> >>> >>> --- >>> http://www.grobmeier.de >>> @grobmeier >>> GPG: 0xA5CC90DB >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org >>> For additional commands, e-mail: log4j-dev-h...@logging.apache.org >>> >>> >>> >> >> -- >> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >> Java Persistence with Hibernate, Second Edition<http://www.manning. >> com/bauer3/> >> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >> Spring Batch in Action <http://www.manning.com/templier/> >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> > > > --- > http://www.grobmeier.de > @grobmeier > GPG: 0xA5CC90DB > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-dev-h...@logging.apache.org > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory