[geotk] Problem with org.geoapi

Brian Schlining bschlining at gmail.com
Fri May 20 13:48:30 EDT 2011


Hi Martin,

Hey, I dropped a maven project at http://dl.dropbox.com/u/529602/gis.zip that illustrates the problem. Just unzip and do the usual 'mvn clean compile'. I set the geoapi.version at the top of the file. It's set to 2.3-RC1 (which fails), if you change it to 2.3-M9 it builds fine. Anyway, hopefully it will give you a little insight into the issue I'm running into. Are you doing any bytecode manipulation (via annotations) in 2.3-RC1 that you aren't doing in 2.3-M9?

-- 
Brian Schlining

On Wednesday, May 18, 2011 at 9:53 AM, Brian Schlining wrote: 
> I get the same error when compiling with Scala 2.9.0 too. I'll try to put together a test maven project that illustrates the problem and send it to you.
> 
> Cheers
> 
> -- 
> Brian Schlining
> 
> On Wednesday, May 18, 2011 at 8:59 AM, Brian Schlining wrote: 
> > 
> > > I have never seen such errors before... Which Java compiler (implementor, version...) is used by Scala?
> > Scala uses it's own compiler. (Martin Odersky, The guy who wrote the Scala compiler, also wrote Java's compiler, javac) I'm building using Scala 2.8.1 (which is running on Apple's Java 1.6.0_24 (the latest)). I read somewhere that those errors might occur when classes are compiled with way older Java compilers, and, not knowing which version of Java was used to compile the opengis api's I checked out the source and recompiled it myself. Still got the same error. I tried compiling both 2.3-RC1 and 3.0 still got the same errors. Interestingly, 2.3-M9 works just fine. -- 
> > ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
> > Brian Schlining
> > bschlining at gmail.com
> 



More information about the Geotoolkit mailing list