|
From: Andrea A. <aa...@op...> - 2009-12-18 10:35:34
|
Michael Bedward ha scritto: > Hi Riccardo, > >> i am not sure this is the right place where to post my suggestion about the >> Geotools Quickstart, but i can't find any other way to contact someone from >> geotools. > > This is actually the best place to provide feedback ! > >> Some imprecision in the Quickstart >> guide http://www.geotools.org/quickstart.html >> >> the xml dependency is missing the closure tag </dependencies> > > Mmm... I've just check the page and I can't see this problem in any of > the pom snippets. Where on the page is it ? > >> to run the quickstart code i had to add the following dependency line (that >> is not present in the guide) >> >> <dependency> >> <groupId>javax.media</groupId> >> <artifactId>jmf</artifactId> >> <version>2.1.1e</version> >> </dependency> >> <dependency> >> <groupId>javax.media</groupId> >> <artifactId>jai_core</artifactId> >> <version>1.1.3</version> >> </dependency> >> otherwise i had an ClassNotFoundException about >> javax.media.jai.PropertySource >> i am using jdk 1.6.0_11, maven 2.2.1, eclipse Galileo 3.5 on Windows XP. >> hope this helps. > > Yes, the jai_core issue is known and a fix will be included in version > 2.6.1 which will be out very soon. GeoTools was forcing people to have > JAI installed even if they were only working with vector data (JAI is > a raster image processing library). > > As far as I know the JMF issue hasn't been reported before. I don't > have this jar on my system but don't get the error. Howerver, I'm > using a different IDE and OS. I work on Linux with Sun JDK and I dont' need to add JMF to the mix in order to make it work. The javax.media.jai.PropertySource class is contained in jai-core. Afaik we're not using the java media framework at all Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. |