[Live-demo] [udig-devel] uDig in OSGeoLive 6.0 without JAI

Angelos Tzotsos gcpp.kalxas at gmail.com
Thu Jul 26 00:37:47 PDT 2012


Thanks Andrea,

I will be around, please drop by when you can.

Cheers,
Angelos

On 07/26/2012 09:56 AM, andrea antonello wrote:
> Hi Angelos,
> I have some doubts about the symbolic linking of the files I see in
> the track diff.
>
> I will try to attend tonights IRC meeting. I have done some packaging
> (I still do for the osgeo4w project) of jres, but I have to admit that
> I was not able to follow the discussion completely.
> In fact I won't be available until one hour after the meeting has been
> settled, which will be at 10.30 PM my time.
> I can be online by 11.30 PM my time. Please let me know if that makes
> even sense.
>
> Cheers,
> Andrea
>
>
> On Thu, Jul 26, 2012 at 2:29 AM, Angelos Tzotsos <gcpp.kalxas at gmail.com> wrote:
>> Hi Frank, all,
>>
>> Can you please take a look here:
>> https://trac.osgeo.org/osgeo/changeset/8349
>>
>> Comments?
>>
>> Cheers,
>> Angelos
>>
>>
>> On 07/24/2012 11:04 AM, Frank Gasdorf wrote:
>>> Andrea,
>>> Absolutely agree, this would not work because of missing jars in
>>> classpath. I tried to find a way to give the eclipse launcher an
>>> external classpath but haven't found anything yet. Because of multiple
>>> classloaders there is no way to work with classpath settings. The RFC
>>>
>>> http://udig.refractions.net/confluence/display/UDIG/native+support+bundles+for+java+advanced+imaging
>>> would solve this because jai libs and natives are bundled and would
>>> not required jai in the JRE.
>>>
>>> HACK : What about making symbolic links from udig_home/jre to the
>>> open-jdk-7 installation files/folders and let the jai/imageio jars
>>> locally in the lib/ext folder. To make sure udig uses the right JRE
>>> set the launcher option "-vm" to the udig_home/jre path.
>>>
>>> All other options would require a new release and of course a finished
>>> RFC ;)  --> next release cycle of OSGeo Live is much more realistic
>>>
>>> BTW: Any news from Andrew about JAI/ImageIO Licensing and
>>> redistributing as a bundle (see RFC again)
>>>
>>>
>>> Cheers,
>>> Frank
>>>
>>>
>>>
>>>
>>>
>>>
>>> 2012/7/24 andrea antonello <andrea.antonello at gmail.com>:
>>>> [...]
>>>>
>>>>> I moved the jai binaries and jars into a custom folder under udig.
>>>>> Then I added this line on start of udig.sh, right under the gdal line:
>>>>>
>>>>> export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/lib/udig/jai/ext/
>>>> That would work for the native libs, but then you do not have the jars
>>>> in the classpath.
>>>> Also I am not sure if that then picks imageio-ext.
>>>>
>>>> I am afraid I am not following this discussion tightly, but the above
>>>> can't work in my opinion.
>>>>
>>>> Frank, you worked on this, do you have opinions about this?
>>>>
>>>> Andrea
>>>>
>>>>
>>>>
>>>>> 2. use a pure java implementation of uDig without JAI
>>>>>
>>>>>
>>>>> I am not keen to make a special copy of uDig just for the live dvd.
>>>>>
>>>>> The open ticket is here: https://trac.osgeo.org/osgeo/ticket/922
>>>>>
>>>>>
>>>>> Thoughts?
>>>>>
>>>>>
>>>>> You only mentioned JAI here; are you also looking at ImageIO and
>>>>> ImageIO-Ext?  Other projects such as Geomajas are more likely to
>>>>> conflict on
>>>>> the copy of ImageIO-Ext and GDAL used.
>>>>>
>>>>> I did not touch either ImageIO or GDAL, since udig seemed to open every
>>>>> file
>>>>> I tested just with JAI moved around.
>>>>>
>>>>> Jody
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>> http://udig.refractions.net
>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Angelos Tzotsos
>>>>> Remote Sensing Laboratory
>>>>> National Technical University of Athens
>>>>> http://users.ntua.gr/tzotsos
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>> http://udig.refractions.net
>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>
>>>> _______________________________________________
>>>> User-friendly Desktop Internet GIS (uDig)
>>>> http://udig.refractions.net
>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>>
>> --
>> Angelos Tzotsos
>> Remote Sensing Laboratory
>> National Technical University of Athens
>> http://users.ntua.gr/tzotsos
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


-- 
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos




More information about the Osgeolive mailing list