[udig-devel] An installer for OSX to try out
Jody Garnett
jgarnett at refractions.net
Tue Apr 29 14:58:36 PDT 2008
Jesse Eichar wrote:
> The JAI/Image IO stuff is exactly the reason that we need the
> installer. Geotiff support requires a version of Image IO that is not
> shipped with the java available on the OSX. I could try to make a
> eclipse fragment that adds the Image IO to libs... But I don't know
> if it would be picked up correctly or not...
I tried getting that to work for MRSID support on trunk; after 3 days
(and a lot of trouble) I found the only thing that worked as to place
the files into the JRE extensions.
> I suppose I could try that though and see if it works. I am worried
> about a little about version hell. I know that OSX does the right
> thing when the jai stuff is put in ~/Library/Java/Extensions.
I know the fragment approach does not work for Windows (strictly
speaking it *does* work since that is how SWT functions); The problem
here is we are expecting the Java BootClasspath ImageIO install to
"find" our contributions we are placing in via a fragment, since it is
this ImageIO code that is supposed to be finding us (using FactorySPI)
we are a long ways away, and in a different classloader, from where we
need to be.
What you could try is setting up a eclipse plug-in to hold the classpath
based install of JAI / ImageIO extention / ImageIO-ext stuff.
In for a penny in for a pound ... and this problem has pounded me
previously.
Jody
>
>
> On 29-Apr-08, at 9:13 PM, Tore Halset wrote:
>
>> Hello.
>>
>> I just tried the installer. It worked, but I have some comments.
>>
>> Why do we need an installer on OS X? Does the installer need to
>> install something in some other place? I am pretty happy about
>> download a zip or dmg and just drag the application to where I want
>> it. And then just delete application when I want to remove it.
>>
>> Does JAI stuff need to be installed in .../Java/Extensions? I think
>> it would be cleaner to keep it inside the uDig directory and alter
>> the classpath or whatever to include it.
>>
>> In the "Select Installation Packages" view, I clicked one of the 3
>> lines. It worked, but is was kind of non-macish that the small window
>> with the 3 lines got even smaller. See the attached screenshot.
>
>
> I guess my description for the JAI/Image IO is too long. I agree that
> is a really ugly effect.
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list