I looked in '2.5.x/target', but do not see a surefire directory in there. Thanks!
Greg Andrea Aime wrote: > Greg Ederer ha scritto: >> Hi, >> >> My development machine is a Mac OS X box. I was told that I need >> 2.5.x in order to build GeoServer 1.7.x. So, I grabbed 2.5.x like so: >> >> svn checkout http://svn.geotools.org/branches/2.5.x >> >> I then did a: >> >> mvn install >> >> And got: >> >> Running org.geotools.gce.imagepyramid.ImagePyramidReaderTest >> Error: Could not find mediaLib accelerator wrapper classes. >> Continuing in pure Java mode. >> Occurs in: com.sun.media.jai.mlib.MediaLibAccessor >> java.lang.NoClassDefFoundError: com/sun/medialib/mlib/Image >> at >> com.sun.media.jai.mlib.MediaLibAccessor$1.run(MediaLibAccessor.java:248) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> com.sun.media.jai.mlib.MediaLibAccessor.setUseMlib(MediaLibAccessor.java:245) >> >> >> at >> com.sun.media.jai.mlib.MediaLibAccessor.useMlib(MediaLibAccessor.java:177) >> >> at >> com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:357) >> >> >> at >> com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:315) >> >> >> at >> com.sun.media.jai.mlib.MlibTranslateRIF.create(MlibTranslateRIF.java:72) >> 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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:122) >> at >> javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674) >> >> at >> javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473) >> >> >> at >> javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332) >> at >> javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819) >> at >> javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867) >> at javax.media.jai.RenderedOp.getMinX(RenderedOp.java:2161) >> at javax.media.jai.PlanarImage.getBounds(PlanarImage.java:702) >> at >> org.geotools.gce.imagemosaic.ImageMosaicReader.addToMosaic(ImageMosaicReader.java:1546) >> >> >> at >> org.geotools.gce.imagemosaic.ImageMosaicReader.loadRequestedTiles(ImageMosaicReader.java:1027) >> >> >> at >> org.geotools.gce.imagemosaic.ImageMosaicReader.loadTiles(ImageMosaicReader.java:686) >> >> >> at >> org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:536) >> >> >> at >> org.geotools.gce.imagepyramid.ImagePyramidReader.loadRequestedTiles(ImagePyramidReader.java:551) >> >> >> at >> org.geotools.gce.imagepyramid.ImagePyramidReader.loadTiles(ImagePyramidReader.java:475) >> >> >> at >> org.geotools.gce.imagepyramid.ImagePyramidReader.read(ImagePyramidReader.java:403) >> >> >> at >> org.geotools.gce.imagepyramid.ImagePyramidReaderTest.testDefaultParameterValueFile(ImagePyramidReaderTest.java:145) >> >> >> 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 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:585) >> at >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) >> >> >> at >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) >> >> > > This stack trace only informs you that you don't have the native > JAI installed and thus you'll get lousy raster performance, but things > should keep on working nevertheless. > I know that Justin built 2.5.x just a few days ago on a Mac, so there > should be something specific to your machine. > >> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.095 >> sec <<< FAILURE! >> Running org.geotools.gce.imagepyramid.ImagePyramidServiceTest >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 >> sec >> >> Results : >> >> Failed tests: >> >> testDefaultParameterValue(org.geotools.gce.imagepyramid.ImagePyramidReaderTest) >> >> > > Can you look into > target/surefire/org.geotools.gce.imagepyramid.ImagePyramidReaderTest.txt > and report what the failure is exactly? > Cheers > Andrea > -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848 | ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
