JScience 3.2 or 3.3 beta might have resolved this. I believe that a lot of the classloading issues have been fixed due to a package rename. JScience changed the package name javax.units (the JSR 108 name) to javax.measure.
This removed the major conflict I had between JSR108 and JScience. The only issue left I believe is org.opengis.* packages. I believe that both of them are based on GeoAPI 2.0, but I've never tracked that down to be absolutely sure. Given that JSR-275 exists separately you could probably use that if you are only interested in the unit conversion. If you want the other pieces of JScience, I'd guess that you could strip the GeoAPI and the JScience implementation of coordinates from the jars and have them work just fine. Haven't tried it, but my guess is that'd work just fine. Kirby >From: "Wilfred Springer" <[EMAIL PROTECTED]> >To: "Jody Garnett" <[EMAIL PROTECTED]>,"Newcomb, Michael-P57487" ><[EMAIL PROTECTED]> >CC: [email protected] >Subject: Re: [Geotools-gt2-users] JSR 275 >Date: Fri, 4 May 2007 12:32:54 +0200 > >Take care if you want to use JScience in combination with geotools. I >had all sorts of classloading conflicts. > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Jody Garnett >Sent: Thursday, May 03, 2007 11:46 PM >To: Newcomb, Michael-P57487 >Cc: [email protected] >Subject: Re: [Geotools-gt2-users] JSR 275 > >I tried a fork of GeoTools in order to work with JScience last year - it > >was "okay" but not great (fork's are never great). We have not worried >about it until we are able to update to Java 5 (pending Java EE being >used more). >Jody > > > Is JSR 108 compatible with JSR 275? I would like to use JScience, but >am > > not sure about compatibility between the two JSRs. > > > > Thanks, > > Michael > > > > >------------------------------------------------------------------------ >- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Geotools-gt2-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > > >------------------------------------------------------------------------ >- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Geotools-gt2-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Geotools-gt2-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
