[icedtea-web] RFC: fix lookup of about.jnlp

Omair Majid omajid at redhat.com
Tue Feb 22 11:58:12 PST 2011


On 02/22/2011 02:36 PM, Deepak Bhole wrote:
> * Omair Majid<omajid at redhat.com>  [2011-02-22 14:27]:
>> On 02/22/2011 02:18 PM, Deepak Bhole wrote:
>>> * Omair Majid<omajid at redhat.com>   [2011-02-22 14:15]:
>>>> Hi,
>>>>
>>>> The fix to isolate icedtea-web in a non-JDK directory has resulted
>>>> in javaws -about being broken. This is because javaws still looks
>>>> for about.jnlp in the JDK directory. The attached patch fixes it by
>>>> making netx use the about.jnlp that's included in netx.jar.
>>>>
>>>> I am not sure if this is the best fix; IcedTea-Web installs a
>>>> separate about.jnlp in $(datadir)/icedtea-web/ which should be used
>>>> instead.
>>>>
>>>> Ok to commit?
>>>>
>>>
>>> Since we are using an in-jar jnlp, how does this affect lookup of
>>> about.jar?
>>>
>>
>> The version of about.jnlp in the jar should be identical to the copy
>> installed at $(datadir)/icedtea-web/.
>>
>> You might also want to refer to a recent thread [1] where various
>> issues in javaws -about are pointed out, including the fact that
>> about.jar is completely unused right now. The about.jnlp file
>> indicates that the canonical copies of about.jnlp and about.jar are
>> stored on the icedtea servers [2]; javaws uses _those_ files rather
>> than the on-disk copies.
>>
>> Jiri has indicated interest in fixing these issues. This patch is
>> more of a quick hack just to keep the existing system (even though
>> it's far from perfect) working.
>>
>
> Ah okay. Fair enough. Patch looks fine to me. Assuming you have tested
> this, OK for head and 1.0.
>

Thanks for the review!

This patch is only necessary for HEAD. javaws -about works in 1.0. Since 
icedtea-web-1.0 is installed into a JRE, looking for about.jnlp in that 
JRE seems fine to me.

I have pushed this to HEAD.

Cheers,
Omair



More information about the distro-pkg-dev mailing list