In the process of chasing down a potential issue I'm having, I thought it would be useful if I could reduce my problem to a failing unit test in Compass. However, I'm unable to build compass-2.2.0-with-dependencies from the download site ('ant tests' yields a bunch of compilation errors beginning with 'package org.objectweb.asm does not exist').
My next step was to try checking out a copy from the Subversion repository (svn checkout http://svn.compass-project.org/svn/compass/branches/2_2/ compass-2.2.0). Trying to run these tests gives slightly better results, but eventually it fails at:
junit Testcase: testDateRangeUsingTwoDifferentFormats took 0.007 sec junit FAILED junit expected:<1> but was:<0> junit junit.framework.AssertionFailedError: expected:<1> but was:<0> junit at org.compass.core.test.querybuilder.range1.RangeQueryBuilderTests.testDateRangeUsingTwoDifferentFormats(RangeQueryBuilderTests.java:109) junit at org.compass.core.test.ExtendedTestCase.runBare(ExtendedTestCase.java:60)
Is this a known issue, or is there something further I need to do?
Looking into this further, the release is missing lib/asm. Adding those libraries will allow the build to succeed, but trying to build another release fails because lib/retrotranslator, docs/reference/docbook-reference-libs.zip, docs/reference/images, docs/reference/src/images are missing. Looks like a few things are missing from the "release" target. I'm submitting a patch against #CMP-932
Yep, just verified all tests pass in trunk. I was mostly concerned with wanting to patch bugs against stable, already-released code because I didn't want to deploy a build in production with unknown/untested code from trunk.