From: Loren C. <lor...@gm...> - 2011-05-04 15:45:37
|
Hello Dannes, Try clearing out the downloaded test data (extensions/indexes/spatial/test). The build for test will fail: spatial: prepare: [echo] Building index module: spatial [echo] Building into classes [echo] ------------------------------------ compile: [echo] Compiling with Java 1.6 from 1.6 source to 1.6 target, debug on, optimize on, deprecation off compile-tests: prepare-test-tresources: [mkdir] Created dir: /Users/lcahlander/Documents/workspace/test/extensions/indexes/spatial/test/resources download-15385-SS7886-5i1: [get] Getting: http://www.ordnancesurvey.co.uk/docs/sample-data/os-mastermap-topography-layer-sample-data.gz [get] To: /Users/lcahlander/Documents/workspace/test/extensions/indexes/spatial/test/resources/15385-SS7886-5i1.gz [get] http://www.ordnancesurvey.co.uk/docs/sample-data/os-mastermap-topography-layer-sample-data.gz moved to http://www.ordnancesurvey.co.uk/oswebsite/docs/sample-data/os-mastermap-topography-layer-sample-data.gz [get] http://www.ordnancesurvey.co.uk/oswebsite/docs/sample-data/os-mastermap-topography-layer-sample-data.gz moved to http://www.ordnancesurvey.co.uk/site/404.html [get] http://www.ordnancesurvey.co.uk/site/404.html moved to http://www.ordnancesurvey.co.uk/oswebsite/site/404.html [get] ................. [gunzip] Expanding /Users/lcahlander/Documents/workspace/test/extensions/indexes/spatial/test/resources/15385-SS7886-5i1.gz to /Users/lcahlander/Documents/workspace/test/extensions/indexes/spatial/test/resources/15385-SS7886-5i1.gml BUILD FAILED /Users/lcahlander/Documents/workspace/test/build/scripts/junit.xml:221: The following error occurred while executing this line: /Users/lcahlander/Documents/workspace/test/extensions/indexes/build.xml:2: The following error occurred while executing this line: /Users/lcahlander/Documents/workspace/test/extensions/indexes/build.xml:2: The following error occurred while executing this line: /Users/lcahlander/Documents/workspace/test/extensions/indexes/build.xml:2: The following error occurred while executing this line: /Users/lcahlander/Documents/workspace/test/extensions/indexes/spatial/build.xml:67: The following error occurred while executing this line: /Users/lcahlander/Documents/workspace/test/extensions/indexes/spatial/build.xml:76: Problem expanding gzip Not in GZIP format the file that is downloaded is not a GZIP file. It is a webpage with the title Sorry! We hope this doesn't spoil your experience of our site Their sample data has changed. You can find the current sample data at: http://www.ordnancesurvey.co.uk/oswebsite/products/try-now/sample-data.html The new sample data is at http://www.ordnancesurvey.co.uk/docs/sample-data/os-mastermap-topography-layer-sample-data.zip and contains a GML file Initial/58116-SX9192-2c1.gz I am wondering if we want to store a copy of the sample data that the tests use on demo.exist-db.org. We would probably need to get their permission for that. On May 4, 2011, at 1:22 AM, Dannes Wessels wrote: > Hi, > > On Wed, May 4, 2011 at 7:55 AM, Pierrick Brihaye > <pie...@fr...> wrote: >> What's wrong with the unit tests ? One of the them has been failing >> since the huge refactorings in winter 2009-2010. I'm afraid I wasn't >> lucid enough to fix the issue :-) > > I run the spatial tests by default, they all run fine except one; this > one is caused by the introduction of SAXON as default XSLT engine (for > betterForm ?) > > I agreed last week with LJO to reconsider the build process on > teamCity, I have some good ideas to improve the build a bit. In the > end, Maven could help us here. If we switch the spatial build to use > the "fetch" download task, we can easily enable the cache function of > that ant task so we can limit the overhead of downloading the > dependencies over and over again. > > 'll push it some this/next week....... > > D. > > -- > eXist-db Native XML Database - http://exist-db.org > Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |