|
From: <tro...@gb...> - 2007-03-21 21:08:41
|
Hi all, I am trying to build geotools on mac osx 10.4.8. There is no JAI available, so I have added these to the pom and installed to the local repository (was a surprise to not see them in the pom even though they are not publically available - this way a maven user sees immediately that there are missing dependencies before the compile target and would locally load them to the repo). However, the espg-access module fails - I think because it is depending on libraries native to windows... but only just started investigating. Should these be in the pom also perhaps? Has anyone built this on mac? Cheers Tim |
|
From: Jody G. <jga...@re...> - 2007-03-21 22:07:18
|
Some recent changes (building against the pure Java JAI jars) on trunk may enable you to build - can you give it a go and let us know? JAI does ship with the later Max OS X operating systems; Jesse Eichar uses a mac so he may be able to help. Cheers, Jody > Hi all, > > I am trying to build geotools on mac osx 10.4.8. > > There is no JAI available, so I have added these to the pom and installed > to the local repository (was a surprise to not see them in the pom even > though they are not publically available - this way a maven user sees > immediately that there are missing dependencies before the compile target > and would locally load them to the repo). > > However, the espg-access module fails - I think because it is depending on > libraries native to windows... but only just started investigating. > Should these be in the pom also perhaps? > > Has anyone built this on mac? > > Cheers > > Tim > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |
|
From: Tim R. <tro...@gb...> - 2007-03-22 07:55:52
|
Hi Jody, Thanks for that - I am actually fairly new to mac, so you may well be right, but the documentation I have read say it's the sun one at least is not available - I hear there is another one though. Any ideas on the epsg module? Thanks -----Original Message----- From: Jody Garnett [mailto:jga...@re...] Sent: Wednesday, March 21, 2007 11:07 PM To: tro...@gb... Cc: geo...@li...; Jesse Eichar Subject: Re: [Geotools-gt2-users] Building Geotools on OSX 10.4 Some recent changes (building against the pure Java JAI jars) on trunk may enable you to build - can you give it a go and let us know? JAI does ship with the later Max OS X operating systems; Jesse Eichar uses a mac so he may be able to help. Cheers, Jody > Hi all, > > I am trying to build geotools on mac osx 10.4.8. > > There is no JAI available, so I have added these to the pom and installed > to the local repository (was a surprise to not see them in the pom even > though they are not publically available - this way a maven user sees > immediately that there are missing dependencies before the compile target > and would locally load them to the repo). > > However, the espg-access module fails - I think because it is depending on > libraries native to windows... but only just started investigating. > Should these be in the pom also perhaps? > > Has anyone built this on mac? > > Cheers > > Tim > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |
|
From: Tim R. <tro...@gb...> - 2007-03-22 09:00:25
|
Ok... So I am slowly plugging through getting this built on mac. So far, changes I have made: - Added JAI jars to POM and loaded to my local repository. It's no good for run time but I just need to build on mac. - There is no odbc jdbc bridge in the mac release of java 5. So on windows I created a jar containing just the sun.jdbc.ee package from the rt.jar, and copied that to mac, adding it to the epsg module pom and it now builds at least. Now I am going to tackle the unsupported module problems. If someone knows a better approach to that I am taking please stop me! My suggestion to the geotools team is that all dependencies are added to the POMs... even if they are not publicly available. It's really frustrating to get 2 minutes into a build to find out that a class is not found - when maven specifically avoids this by having all dependencies checked at the beginning. Just my 2 cents worth... -----Original Message----- From: Jody Garnett [mailto:jga...@re...] Sent: Wednesday, March 21, 2007 11:07 PM To: tro...@gb... Cc: geo...@li...; Jesse Eichar Subject: Re: [Geotools-gt2-users] Building Geotools on OSX 10.4 Some recent changes (building against the pure Java JAI jars) on trunk may enable you to build - can you give it a go and let us know? JAI does ship with the later Max OS X operating systems; Jesse Eichar uses a mac so he may be able to help. Cheers, Jody > Hi all, > > I am trying to build geotools on mac osx 10.4.8. > > There is no JAI available, so I have added these to the pom and installed > to the local repository (was a surprise to not see them in the pom even > though they are not publically available - this way a maven user sees > immediately that there are missing dependencies before the compile target > and would locally load them to the repo). > > However, the espg-access module fails - I think because it is depending on > libraries native to windows... but only just started investigating. > Should these be in the pom also perhaps? > > Has anyone built this on mac? > > Cheers > > Tim > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |
|
From: Andrea A. <aa...@op...> - 2007-03-22 09:37:20
|
Tim Robertson ha scritto: > Ok... > > So I am slowly plugging through getting this built on mac. So far, changes > I have made: > > - Added JAI jars to POM and loaded to my local repository. It's no good for > run time but I just need to build on mac. > > - There is no odbc jdbc bridge in the mac release of java 5. So on windows > I created a jar containing just the sun.jdbc.ee package from the rt.jar, and > copied that to mac, adding it to the epsg module pom and it now builds at > least. > > Now I am going to tackle the unsupported module problems. > > If someone knows a better approach to that I am taking please stop me! > > My suggestion to the geotools team is that all dependencies are added to the > POMs... even if they are not publicly available. It's really frustrating to > get 2 minutes into a build to find out that a class is not found - when > maven specifically avoids this by having all dependencies checked at the > beginning. Just my 2 cents worth... Tim, have you tried using the -Pnojai profile as I suggested in an earlier mail? This will add jai dependencies.... (it's available only on gt2 trunk, but afaik you were trying to build that one). Cheers Andrea |
|
From: Tim R. <tro...@gb...> - 2007-03-22 10:01:36
|
Hi Thanks Andrea I tried "mvn:install -Pnojai -Dmaven.test.skip=true" but that didn't work. Is that what you mean? 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) 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. Thanks again Tim -----Original Message----- From: Andrea Aime [mailto:aa...@op...] Sent: Thursday, March 22, 2007 10:37 AM To: Tim Robertson Cc: 'Jody Garnett'; geo...@li... Subject: Re: [Geotools-gt2-users] Building Geotools on OSX 10.4 Tim Robertson ha scritto: > Ok... > > So I am slowly plugging through getting this built on mac. So far, changes > I have made: > > - Added JAI jars to POM and loaded to my local repository. It's no good for > run time but I just need to build on mac. > > - There is no odbc jdbc bridge in the mac release of java 5. So on windows > I created a jar containing just the sun.jdbc.ee package from the rt.jar, and > copied that to mac, adding it to the epsg module pom and it now builds at > least. > > Now I am going to tackle the unsupported module problems. > > If someone knows a better approach to that I am taking please stop me! > > My suggestion to the geotools team is that all dependencies are added to the > POMs... even if they are not publicly available. It's really frustrating to > get 2 minutes into a build to find out that a class is not found - when > maven specifically avoids this by having all dependencies checked at the > beginning. Just my 2 cents worth... Tim, have you tried using the -Pnojai profile as I suggested in an earlier mail? This will add jai dependencies.... (it's available only on gt2 trunk, but afaik you were trying to build that one). Cheers Andrea |
|
From: Andrea A. <aa...@op...> - 2007-03-22 10:23:45
|
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 |
|
From: Martin D. <mar...@ge...> - 2007-03-23 15:23:48
|
The "epsg-access" module relies on the JDBC-OBDC bridge which is available on Windows and Linux, but not Mac-OS. ODBC was originally Windows-specific, but I believe that it has gained some support other than Microsoft on Windows. The "epsg-access" module should be excluded from the build on Mac-OS, and maybe on every Unix as suggested by Andrea (unless a possibly read-only driver for MS-Access is available on Linux?) Andrea Aime a écrit : > 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> > (...etc...) Do we have a volunter for adding a "Mac" profile and test on Mac-OS? Martin |
|
From: Martin D. <mar...@ge...> - 2007-03-23 15:34:43
|
Martin Desruisseaux a écrit : > Do we have a volunter for adding a "Mac" profile and test on Mac-OS? Sorry, I didn't noticed that an action was already taken (I was away since last saturday and just came back). Thanks for the fix. Martin |
|
From: Andrea A. <aa...@op...> - 2007-03-23 15:34:49
|
Martin Desruisseaux ha scritto: > The "epsg-access" module relies on the JDBC-OBDC bridge which is > available on Windows and Linux, but not Mac-OS. ODBC was originally > Windows-specific, but I believe that it has gained some support other > than Microsoft on Windows. > > The "epsg-access" module should be excluded from the build on Mac-OS, > and maybe on every Unix as suggested by Andrea (unless a possibly > read-only driver for MS-Access is available on Linux?) Nope, there's none afaik. The jdbc-odbc bridge leverages the access odbc drivers which are platform specific. If there was one, I would be running Linux now (I need to access MDB files for an older work I'm still maintaining). Cheers Andrea |
|
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 |
|
From: <tro...@gb...> - 2007-03-22 11:09:37
|
Hi All, May I please request/suggest org.geotools.geometry.iso.util.AlgorithmND be renamed to org.geotools.geometry.iso.util.algorithmND For those of us using case sensitive operating systems (I'm on OSX)? I dont know where the bug is arising as I am trying to build both on command line and in eclipse, but I get duplicate directories which terminates the build... |
|
From: Jody G. <jga...@re...> - 2007-03-26 17:39:21
|
Thanks for the report. Can someone with a real computer (ie linux) do this one please - windows may be pretty but it is not PreTtY. Jody > Hi All, > > May I please request/suggest > > org.geotools.geometry.iso.util.AlgorithmND > > be renamed to > > org.geotools.geometry.iso.util.algorithmND > > For those of us using case sensitive operating systems (I'm on OSX)? I > dont know where the bug is arising as I am trying to build both on command > line and in eclipse, but I get duplicate directories which terminates the > build... > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel > |
|
From: Adrian C. <ac...@gm...> - 2007-03-26 23:03:28
|
Hello, Ah, I'm finally understanding your message. The problem is that you are on a case *in*sensitve (although preserving) system. In module/unsupported/geometry/ the tests were in package ...A... and the classes in package ...a... so for the mac they were the same. Poor, poor mac; what a lovely unix it could have made. Anyhow I've committed some changes, let me know if they don't work. cheers, adrian On Thu, 2007-03-22 at 12:09 +0100, tro...@gb... wrote: > Hi All, > > May I please request/suggest > > org.geotools.geometry.iso.util.AlgorithmND > > be renamed to > > org.geotools.geometry.iso.util.algorithmND > > For those of us using case sensitive operating systems (I'm on OSX)? I > dont know where the bug is arising as I am trying to build both on command > line and in eclipse, but I get duplicate directories which terminates the > build... > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users |
|
From: Adrian C. <ac...@gm...> - 2007-03-22 11:11:43
|
On Thu, 2007-03-22 at 11:46 +0100, Tim Robertson wrote: > I'm sure I must have the wrong branch checked out > (http://svn.geotools.org/geotools/trunk) yeah, try http://svn.geotools.org/geotools/trunk/gt/ which should avoid a bunch of experimental directories. |
|
From: Tim R. <tro...@gb...> - 2007-03-22 11:12:47
|
Thanks!!! :o) -----Original Message----- From: Adrian Custer [mailto:ac...@gm...] Sent: Thursday, March 22, 2007 12:12 PM To: Tim Robertson Cc: 'Geotools-Devel list'; geo...@li... Subject: Re: [Geotools-gt2-users] Building Geotools on OSX 10.4 On Thu, 2007-03-22 at 11:46 +0100, Tim Robertson wrote: > I'm sure I must have the wrong branch checked out > (http://svn.geotools.org/geotools/trunk) yeah, try http://svn.geotools.org/geotools/trunk/gt/ which should avoid a bunch of experimental directories. |
|
From: Tim R. <tro...@gb...> - 2007-03-22 12:11:07
|
So, on max when I check out the correct version (thanks Adrian), and use the nojai profile (thanks Andrea) and either omit the epsg-access or use the patched jar in the repository I created on windows, it does indeed build. Many thanks all Tim -----Original Message----- From: Adrian Custer [mailto:ac...@gm...] Sent: Thursday, March 22, 2007 12:12 PM To: Tim Robertson Cc: 'Geotools-Devel list'; geo...@li... Subject: Re: [Geotools-gt2-users] Building Geotools on OSX 10.4 On Thu, 2007-03-22 at 11:46 +0100, Tim Robertson wrote: > I'm sure I must have the wrong branch checked out > (http://svn.geotools.org/geotools/trunk) yeah, try http://svn.geotools.org/geotools/trunk/gt/ which should avoid a bunch of experimental directories. |
|
From: Jody G. <jga...@re...> - 2007-03-22 17:10:09
|
Hey Andrea - can we set up a mac specific profile that: - does the same thing as the "nojai" profile - turns off the modules that require odbc bridge - anything else required Tim? Jody > Tim Robertson ha scritto: >> Ok... >> >> So I am slowly plugging through getting this built on mac. So far, >> changes >> I have made: >> >> - Added JAI jars to POM and loaded to my local repository. It's no >> good for >> run time but I just need to build on mac. >> >> - There is no odbc jdbc bridge in the mac release of java 5. So on >> windows >> I created a jar containing just the sun.jdbc.ee package from the >> rt.jar, and >> copied that to mac, adding it to the epsg module pom and it now >> builds at >> least. >> >> Now I am going to tackle the unsupported module problems. >> >> If someone knows a better approach to that I am taking please stop me! >> >> My suggestion to the geotools team is that all dependencies are added >> to the >> POMs... even if they are not publicly available. It's really >> frustrating to >> get 2 minutes into a build to find out that a class is not found - when >> maven specifically avoids this by having all dependencies checked at the >> beginning. Just my 2 cents worth... > > Tim, have you tried using the -Pnojai profile as I suggested in an > earlier mail? This will add jai dependencies.... (it's available only > on gt2 trunk, but afaik you were trying to build that one). > Cheers > Andrea |
|
From: Cory H. <ch...@re...> - 2007-03-22 18:59:29
|
Jody Garnett wrote: > - can we set up a mac specific profile that: > - does the same thing as the "nojai" profile > - turns off the modules that require odbc bridge > - anything else required Tim? I've tweaked the root pom and plugin pom: - mac causes the nojai profile to be activated by default - removed epsg-access from unix profile (unix = linux + mac) Now once the modules in unsupported are compiling and passing tests in java 5, mac users will be able to go "mvn install" and should have a successful build. Cory. |
|
From: <tro...@gb...> - 2007-03-22 21:05:01
|
Hi Jody, Thanks for the reply - I am now building both geotools and geoserver on the mac. My main problems came from me building the wrong geotools... I can either build with JAI in the local repository, or the nojai profile, and omitting the epsg-access module or using a patched jar containing the required classes. Thanks again, Tim > Hey Andrea - can we set up a mac specific profile that: > - does the same thing as the "nojai" profile > - turns off the modules that require odbc bridge > - anything else required Tim? > > Jody >> Tim Robertson ha scritto: >>> Ok... >>> >>> So I am slowly plugging through getting this built on mac. So far, >>> changes >>> I have made: >>> >>> - Added JAI jars to POM and loaded to my local repository. It's no >>> good for >>> run time but I just need to build on mac. >>> >>> - There is no odbc jdbc bridge in the mac release of java 5. So on >>> windows >>> I created a jar containing just the sun.jdbc.ee package from the >>> rt.jar, and >>> copied that to mac, adding it to the epsg module pom and it now >>> builds at >>> least. >>> >>> Now I am going to tackle the unsupported module problems. >>> >>> If someone knows a better approach to that I am taking please stop me! >>> >>> My suggestion to the geotools team is that all dependencies are added >>> to the >>> POMs... even if they are not publicly available. It's really >>> frustrating to >>> get 2 minutes into a build to find out that a class is not found - when >>> maven specifically avoids this by having all dependencies checked at >>> the >>> beginning. Just my 2 cents worth... >> >> Tim, have you tried using the -Pnojai profile as I suggested in an >> earlier mail? This will add jai dependencies.... (it's available only >> on gt2 trunk, but afaik you were trying to build that one). >> Cheers >> Andrea > > > |