From: Tim R. <tro...@gb...> - 2007-03-22 10:46:19
|
Perhaps an addition of <family>mac</family> to remove it would help although - I read that if you introduce a linux family also, there are issues with mac being picked up incorrectly. It may be worth adding just a comment for mac users to the pom. I'm now on the JTS-Wrapper -> org.geotools.geometry.jts.spatialschema.geometry.complex.ComplexImpl is not abstract and does not override abstract method getPrecision() in org.opengis.spatialschema.geometry.Geometry plus some others in there not implemented and some that are using the wrong return types... I'm sure I must have the wrong branch checked out (http://svn.geotools.org/geotools/trunk) as this is no longer errors in dependencies but the code base itself. I'll investigate later today what I've done wrong, unless the build is indeed broken. Tim -----Original Message----- From: Andrea Aime [mailto:aa...@op...] Sent: Thursday, March 22, 2007 11:23 AM To: Tim Robertson Cc: geo...@li...; Jesse Eichar; Geotools-Devel list Subject: Re: [Geotools-gt2-users] Building Geotools on OSX 10.4 Tim Robertson ha scritto: > Hi > > Thanks Andrea > > I tried "mvn:install -Pnojai -Dmaven.test.skip=true" but that didn't work. > Is that what you mean? Yes.... it should have downloaded the jai files from lists.refractions.net. Just tried on my pc, wiped out jai from my maven repo, and run that same mvn command, and it did download the jai jars from lists.refractions.net indeed, leading to a full and succesfull build. > Installing the jars to the repo let it build but I am just hitting problem > after problem with building. Partly due to OSX not having the same java > (e.g. odbc bridge missing) and partly due to (in my very humble opinion) > poms being incomplete. It is also a highly likely possibility that I am > trying to build the wrong code of course ;o) I don't understand why it does not work on Mac OS... unfortunately I do believe only one developer is working on a Mac, and only part time (hello Jesse). The rest of us is split among Windows and Linux. I can see that in the plugins pom there is the following code: <profile> <id>windows</id> <activation> <os> <family>windows</family> </os> </activation> <modules> <module>epsg-access</module> </modules> </profile> <profile> <id>unix</id> <activation> <os> <family>unix</family> </os> </activation> <modules> <module>epsg-access</module> </modules> </profile> Soo... my wild guess is that MacOSX falls in the unix family, but linux jdk do havea jdbc-odbc bridge, or at least the sun.jdbc.odbc.ee.DataSource class, whilst OSX does not. Guys, should we disable epsg-access from unix builds? It does not make sense to use it there anyways... > If I don't give up, I'll write some destructions on how I got geotools and > geoserver building on mac. I'm working on this on the side at the moment so > can't give it my full attention unfortunately. No problem. Docs and feedback are appreciated :-) Cheers Andrea |