Hi Gary do you want to hop on the #geotools IRC channel and chat - I think I can help get you going.
The instructions for building trunk are in the developers guide. - http://docs.codehaus.org/display/GEOT/Home It has a sections for dependencies (what you need to download) how to fetch the source code using svn and what maven build instructions to use and so on ... Cheers, Jody Gary W. Lucas wrote: > I've attached a copy of an exception I received when trying to render > a GeoTiff image. > I was wondering if anyone could suggest a solution. > I believe that it is due to the evil effects of using the JAI (which > seems to be a > recurrent theme in my postings here). Anyway, I am trying to write > an Eclipse RCP > plug-in that uses GeoTools 2.3.0. I have created a mega bundle of all > the 2.3.0 jar > files as well as the Java I/O jar's. > > Now, an additional question. So far, I've been resisting using the > -Pnojai option > that's been discussed here because I am working on a desktop > application and > wanted to get the extra performance provided by the JAI. Well... I'm > giving in. > So I've decided to use the trunk build. This brings me to a very > problematic > issue. I have been over to the http://www.geotools.org > <http://www.geotools.org/> website and I'm afraid that > I can't find an instruction on how to download and build from the > trunks. Now I > hate to ask this, but could somebody point me in the right direction. > I KNOW it's > got to be there somewhere but I haven't found it and I am rather at my > wits end. > > Thanks in advance for your help. > > Gary > > GridCoverageRenderer.java:96 reads: > > private final static RenderingHints NOCACHE_HINT = new > RenderingHints(JAI.KEY_TILE_CACHE, null); > > > > Mar 30, 2007 12:58:08 PM org.geotools.renderer.lite.StreamingRenderer > processStylers > SEVERE: null > java.lang.ExceptionInInitializerError > at > org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.<clinit>( > _GridCoverageRenderer.java:96_ ) > at org.geotools.renderer.lite.StreamingRenderer.renderRaster( > _StreamingRenderer.java:1725_ ) > at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers( > _StreamingRenderer.java:1586_ ) > at org.geotools.renderer.lite.StreamingRenderer.process( > _StreamingRenderer.java:1530_ ) > at org.geotools.renderer.lite.StreamingRenderer.processStylers( > _StreamingRenderer.java:1472_ ) > at org.geotools.renderer.lite.StreamingRenderer.paint( > _StreamingRenderer.java:687_ ) > at org.geotools.renderer.lite.StreamingRenderer.paint( > _StreamingRenderer.java:430_ ) > at com.sonalysts.nimbusTestClient.MapGraphics.renderMap( > _MapGraphics.java:391_ ) > at com.sonalysts.nimbusTestClient.MapCanvasEventListener.paintControl( > _MapCanvasEventListener.java:52_ ) > at org.eclipse.swt.widgets.TypedListener.handleEvent( > _TypedListener.java:83_ ) > at org.eclipse.swt.widgets.EventTable.sendEvent( _EventTable.java:66_ ) > at org.eclipse.swt.widgets.Widget.sendEvent( _Widget.java:928_ ) > at org.eclipse.swt.widgets.Widget.sendEvent( _Widget.java:952_ ) > at org.eclipse.swt.widgets.Widget.sendEvent( _Widget.java:937_ ) > at org.eclipse.swt.widgets.Composite.WM_PAINT( _Composite.java:1285_ ) > at org.eclipse.swt.widgets.Control.windowProc( _Control.java:3299_ ) > at org.eclipse.swt.widgets.Display.windowProc( _Display.java:4025_ ) > at org.eclipse.swt.internal.win32.OS.DispatchMessageW( _Native Method_) > at org.eclipse.swt.internal.win32.OS.DispatchMessage( _OS.java:1932_ ) > at org.eclipse.swt.widgets.Display.readAndDispatch( _Display.java:2966_ ) > at org.eclipse.ui.internal.Workbench.runEventLoop( _Workbench.java:1930_ ) > at org.eclipse.ui.internal.Workbench.runUI( _Workbench.java:1894_ ) > at org.eclipse.ui.internal.Workbench.createAndRunWorkbench( > _Workbench.java:422_ ) > at org.eclipse.ui.PlatformUI.createAndRunWorkbench( > _PlatformUI.java:149_ ) > at com.sonalysts.nimbusTestClient.Application.run( _Application.java:20_ ) > at org.eclipse.core.internal.runtime.PlatformActivator$1.run( > _PlatformActivator.java:78_ ) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication( > _EclipseAppLauncher.java:92_ ) > at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start( > _EclipseAppLauncher.java:68_ ) > at org.eclipse.core.runtime.adaptor.EclipseStarter.run( > _EclipseStarter.java:400_ ) > at org.eclipse.core.runtime.adaptor.EclipseStarter.run( > _EclipseStarter.java:177_ ) > at sun.reflect.NativeMethodAccessorImpl.invoke0( _Native Method_) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.eclipse.core.launcher.Main.invokeFramework( _Main.java:336_ ) > at org.eclipse.core.launcher.Main.basicRun( _Main.java:280_ ) > at org.eclipse.core.launcher.Main.run( _Main.java:977_ ) > at org.eclipse.core.launcher.Main.main( _Main.java:952_ ) > Caused by: _java.lang.ClassCastException_ : > com.sun.media.jai.imageioimpl.ImageReadWriteSpi > at javax.media.jai.OperationRegistry.registerServices( > _OperationRegistry.java:2047_ ) > at javax.media.jai.ThreadSafeOperationRegistry.registerServices( > _ThreadSafeOperationRegistry.java:612_ ) > at javax.media.jai.OperationRegistry.initializeRegistry( > _OperationRegistry.java:365_ ) > at javax.media.jai.JAI.<clinit>( _JAI.java:560_ ) > ... 38 more > > > > > Gary W. Lucas > Sonalysts, Inc. > 215 Parkway North > Waterford CT 06320, USA > (860) 326-3682 > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
