From: Jesse E. <je...@re...> - 2004-06-02 15:42:11
|
The Unit.get() method to create a GridCoverage. It was to be one of the bands. I changed it to null and it works fine now. The last build went as follows: GeoTools2 module build report 20040601 gt2:main cleaned, compiled, tested, INSTALLED 1047 gt2:utils cleaned, compiled, tested, INSTALLED 1048 gt2:rendering-styling cleaned, compiled, tested, INSTALLED 1048 gt2:pickle cleaned, compiled, tested, INSTALLED 1048 gt2:sample-data cleaned, compiled, tested, INSTALLED 1048 gt2:mapinfo cleaned, compiled gt2:vpf cleaned, compiled, tested, INSTALLED 1049 gt2:svgsupport cleaned, compiled, tested, INSTALLED 1049 gt2:imagedatasource cleaned gt2:shapefile cleaned, compiled, tested, INSTALLED 1049 gt2:arcsde cleaned, compiled, tested, INSTALLED 1049 gt2:oracle-spatial cleaned, compiled, tested, INSTALLED 1049 gt2:mysql cleaned, compiled, tested, INSTALLED 1049 gt2:postgis cleaned, compiled, tested, INSTALLED 1050 gt2:geomedia cleaned, compiled, tested, INSTALLED 1050 gt2:tiger cleaned, compiled, tested, INSTALLED 1050 gt2:gtopo30 cleaned, compiled, tested, INSTALLED 1051 gt2:arcgrid cleaned, compiled, tested, INSTALLED 1051 gt2:graph cleaned, compiled, tested, INSTALLED 1051 gt2:j2se-demos cleaned, compiled, tested, INSTALLED 1051 gt2:validation cleaned, compiled, tested, INSTALLED 1051 I think the imagedatasource may be an environment thing because it is a compile error: /home/jeichar/workspace/gt/module/imagedatasource/src/org/geotools/coverage/WorldFileParser.java:80: cannot access org.opengis.referencing.FactoryException file org/opengis/referencing/FactoryException.class not found try{ ^ the catch is the following. } catch (org.geotools.cs.FactoryException fe){ On Tue, 2004-06-01 at 11:12, Jody Garnett wrote: > ch...@op... wrote: > > >This may not be the problem, but you might check to make sure that it's > >including the relevant resource files. I had problems with Unit stuff > >on GeoServer, and it was because we weren't including all the right > >files, namely the .utf ones. Glancing at the project.xml file for main > >it looks like .utf is not included (though I could be missing > >something, I'm just looking online as I'm having trouble checking out). > > .serialized might also need to be included, it's in the old > >cts-coordtrans project.xml file. > > > > > It is a difficult one since the tests pass on windows, but fail on linux. > > As for the including bit we try and include all test-data directories > and place the utf files in such. > So yeah more catching up - see resources.TestData for convience methods. > Test data goes into test-data folders to mirror doc-files used by > javadoc (and make the folder obviously not a java package). > > Jody |