See <
http://hudson.opengeo.org/hudson/job/jaitools/211/changes>
Changes:
[mbedward] Replace Java 6 method call which is breaking the build on hudson
------------------------------------------
[...truncated 719 lines...]
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/rangelookup/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/rangelookup/src/test/resources>
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 3 source files to <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/rangelookup/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/rangelookup/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jaitools.media.jai.rangelookup.RangeLookupTableTest
simple integer lookup
add overlapping range
add completely overlapped range
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.jaitools.media.jai.rangelookup.RangeLookupTest
byte source to byte destination
byte source to short destination
byte source to int destination
byte source to float destination
byte source to double destination
short source to byte destination
short source to short destination
short source to int destination
short source to float destination
short source to double destination
ushort source to byte destination
ushort source to short destination
ushort source to int destination
ushort source to float destination
ushort source to double destination
int source to byte destination
int source to short destination
int source to int destination
int source to float destination
int source to double destination
float source to byte destination
float source to short destination
float source to int destination
float source to float destination
float source to double destination
double source to byte destination
double source to short destination
double source to int destination
double source to float destination
double source to double destination
short source to short dest
ushort source to ushort dest
ushort source and negative lookup values
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec
Results :
Tests run: 36, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/rangelookup/target/jt-rangelookup-1.3-SNAPSHOT.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/rangelookup/target/jt-rangelookup-1.3-SNAPSHOT.jar> to /usr/share/jetty/.m2/repository/org/jaitools/jt-rangelookup/1.3-SNAPSHOT/jt-rangelookup-1.3-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Vectorize operator
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/vectorize/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/vectorize/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/vectorize/src/test/resources>
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 3 source files to <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/vectorize/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/vectorize/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jaitools.media.jai.vectorize.SmallPolysTest
remove small polygons
merge small polygons into largest neighbour
small polygon surrounded by nodata
filter threshold below min poly size
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.892 sec
Running org.jaitools.media.jai.vectorize.VectorizeTest
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.MlibBinarizeRIF.create(MlibBinarizeRIF.java:53)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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.ROI.contains(ROI.java:278)
at org.jaitools.media.jai.vectorize.VectorizeOpImage.vectorizeBoundaries(VectorizeOpImage.java:372)
at org.jaitools.media.jai.vectorize.VectorizeOpImage.doVectorize(VectorizeOpImage.java:260)
at org.jaitools.media.jai.vectorize.VectorizeOpImage.getAttribute(VectorizeOpImage.java:237)
at org.jaitools.media.jai.vectorize.VectorizeOpImage.getAttribute(VectorizeOpImage.java:69)
at org.jaitools.media.jai.AttributeOpImage.getProperty(AttributeOpImage.java:242)
at javax.media.jai.RenderedOp$1.getProperty(RenderedOp.java:1808)
at javax.media.jai.PropertyEnvironment.getProperty(PropertyEnvironment.java:197)
at javax.media.jai.PropertySourceImpl.getProperty(PropertySourceImpl.java:277)
at javax.media.jai.WritablePropertySourceImpl.getProperty(WritablePropertySourceImpl.java:130)
at javax.media.jai.RenderedOp.getProperty(RenderedOp.java:1982)
at org.jaitools.media.jai.vectorize.TestBase.getPolygons(TestBase.java:100)
at org.jaitools.media.jai.vectorize.VectorizeTest.smallSquaresROI(VectorizeTest.java:467)
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:592)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:592)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.384 sec
Results :
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/vectorize/target/jt-vectorize-1.3-SNAPSHOT.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/vectorize/target/jt-vectorize-1.3-SNAPSHOT.jar> to /usr/share/jetty/.m2/repository/org/jaitools/jt-vectorize/1.3-SNAPSHOT/jt-vectorize-1.3-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building ZonalStats operator
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/zonalstats/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 7 source files to <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/zonalstats/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/zonalstats/src/test/resources>
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/zonalstats/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/zonalstats/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jaitools.media.jai.zonalstats.ZonalStatsTest
validate number of sources
validate zone image type
validate data - zone image overlap
test min
test max
test mean
test standard deviation
test range
test sum
test exact median
test approximate median
test multiband
test excluding ranges of values
test testNoDataRanges
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.377 sec
Results :
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/zonalstats/target/jt-zonalstats-1.3-SNAPSHOT.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <
http://hudson.opengeo.org/hudson/job/jaitools/ws/operator/zonalstats/target/jt-zonalstats-1.3-SNAPSHOT.jar> to /usr/share/jetty/.m2/repository/org/jaitools/jt-zonalstats/1.3-SNAPSHOT/jt-zonalstats-1.3-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Demo programs
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <
http://hudson.opengeo.org/hudson/job/jaitools/ws/demo/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <
http://hudson.opengeo.org/hudson/job/jaitools/ws/demo/src/main/resources>
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 20 source files to <
http://hudson.opengeo.org/hudson/job/jaitools/ws/demo/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <
http://hudson.opengeo.org/hudson/job/jaitools/ws/demo/src/main/java/org/jaitools/demo/tiledimage/DrawingDemo.java>:[32,16] cannot find symbol
symbol : class LinearGradientPaint
location: package java.awt
[ERROR] <
http://hudson.opengeo.org/hudson/job/jaitools/ws/demo/src/main/java/org/jaitools/demo/tiledimage/DrawingDemo.java>:[130,24] cannot find symbol
symbol : class LinearGradientPaint
location: class org.jaitools.demo.tiledimage.DrawingDemo
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
<
http://hudson.opengeo.org/hudson/job/jaitools/ws/demo/src/main/java/org/jaitools/demo/tiledimage/DrawingDemo.java>:[32,16] cannot find symbol
symbol : class LinearGradientPaint
location: package java.awt
<
http://hudson.opengeo.org/hudson/job/jaitools/ws/demo/src/main/java/org/jaitools/demo/tiledimage/DrawingDemo.java>:[130,24] cannot find symbol
symbol : class LinearGradientPaint
location: class org.jaitools.demo.tiledimage.DrawingDemo
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Thu Jan 24 07:33:34 UTC 2013
[INFO] Final Memory: 30M/162M