Hi Andrea,
thanks for the reply.
[...]
> I think you are mixing up different versions of the jars, in particular
> a older shapefile datastore witha newer gt-main module.
>
> That method was recently expanded to take a superclass of
> AttributeDescriptor as a parameter. Compile wise it's backwards
> compatible but I guess it does not work if you're mixing jars
> that are compiled for different versions
I have a bunch of gt dependencies, that all refer to the 2.6-shapshot:
<properties>
<gt.version>2.6-SNAPSHOT</gt.version>
</properties>
<dependencies>
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-shapefile</artifactId>
<version>${gt.version}</version>
</dependency>
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-coverage</artifactId>
<version>${gt.version}</version>
</dependency>
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-geotiff</artifactId>
<version>${gt.version}</version>
</dependency>
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-arcgrid</artifactId>
<version>${gt.version}</version>
</dependency>
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-process</artifactId>
<version>${gt.version}</version>
</dependency>
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-swing</artifactId>
<version>${gt.version}</version>
</dependency>
No other geotools dependencies here.
Might it be that I am picking up something wrong anyway?
Perhaps I could clean out my maven repo, in order to get it done
again. Anyways I never installed gt jars manually, so that should not
be the issue...
Andrea
>
> Cheers
> Andrea
>
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users