I'm pretty sure it is mostly just a historical artifact, i.e. we always
used to put them there.

Ian

On Sat, 13 Oct 2018 at 18:19, Peter Borissow <peter.boris...@yahoo.com>
wrote:

> Thanks Ian,
>     I understand how to pull down the jars via maven. I also know that
> historically the downloads from SourceForge don't include all the jars. But
> why not? I guess I don't understand the point of the SourceForge bundle
> download if you need maven anyway?
>
> Peter
>
>
>
> On Saturday, October 13, 2018, 12:44:09 PM EDT, Ian Turton <
> ijtur...@gmail.com> wrote:
>
>
> Also, we have never included **all** the jars in releases, that's what
> maven is for.
>
> Ian
>
> On Sat, 13 Oct 2018 at 17:41, Ian Turton <ijtur...@gmail.com> wrote:
>
> Check out the GeoTools Upgrade notes for all the changes -
> http://docs.geotools.org/stable/userguide/welcome/upgrade.html
>
> Ian
>
> On Sat, 13 Oct 2018 at 16:57, Peter Borissow via GeoTools-GT2-Users <
> geotools-gt2-users@lists.sourceforge.net> wrote:
>
> Hello,
>     I am dusting off some old code that relies on GeoTools to calculate
> distances using the org.geotools.geometry.jts.JTS class. Example:
>
> DefaultGeographicCRS crs = DefaultGeographicCRS.WGS84;
> distance = JTS.orthodromicDistance(
>     coord,
>     prevCoord,
>     crs
> );
>
> I am building using Java 10. I tried to use some old jars from GeoTools
> 14.x but I got a runtime exception:
>
> "java.lang.IllegalArgumentException:
> org.opengis.referencing.datum.DatumFactory is not an ImageIO SPI class"
>
> After a quick search, it looks like I need to upgrade GeoTools so I
> downloaded the latest and greatest bundle from SourceForge and added all
> the jars to my project.
>
> I quickly discovered that the bundle is missing a few dependencies so I
> started hunting them down and adding them one-by-one. So far, I have added
> the following:
>
> jts-core-1.16.0
> si-units-java8-0.9
> uom-se-1.0.9
> uom-common-1.0.2
> unit-api-1.0
>
> However, I am now stuck with the following error:
> java.lang.NoClassDefFoundError: si/uom/quantity/MagnetomotiveForce
>
> Any suggestions as to where I can find this jar? Or the source code for
> the implementation of the MagnetomotiveForce interface?
>
> Also, would it be possible to include all the requisite jars in future
> releases?
>
> Thanks in advance,
> Peter
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
>
> --
> Ian Turton
>
>
>
> --
> Ian Turton
>


-- 
Ian Turton
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to