Dne 27.5.2010 17:01, Richard S. Hall napsal(a):
> On 5/27/10 11:00, Richard S. Hall wrote:
>> On 5/27/10 10:50, Miroslav Šulc wrote:
>>> Dne 27.5.2010 15:33, Richard S. Hall napsal(a):
>>>> On 5/27/10 8:56, Miroslav Šulc wrote:
>>>>> i changed the version in framework.properties to 1.5.0 and the
>>>>> problem
>>>>> is gone. thx for help. now i have to find some detail info how that
>>>>> org.osgi.framework.system.packages should be used. is a lot of
>>>>> text in
>>>>> it that i do not understand why it's there :-)
>>>>>
>>>> You shouldn't need to use it at all, since it is set by default by the
>>>> framework. You only need to set it if you want to override the default
>>>> value (which is all packages in the underlying JRE plus the core
>>>> framework packages for OSGi API).
>>>>
>>>> Looking at what is there below, you likely just need to add some of
>>>> the specified packages to org.osgi.framework.system.packages.extra,
>>>> which will append them to the default value.
>>> this is exactly what i did in the end, deleted
>>> org.osgi.framework.system.packages and used
>>> org.osgi.framework.system.packages.extra instead. i just got
>>> confused by
>>> the sample app. once more, thank you for your help.
>>
>> Just to be clear, you don't need to add all of those to the extra
>> property, since most of them are already in the default value. You
>> can see the default values here:
>>
>>
>> http://svn.apache.org/repos/asf/felix/trunk/framework/src/main/resources/default.properties
>>
>>
>> You just need to add the packages which are in the default value.
>
> Sorry, that should say, "You just need to add the packages which are
> NOT in the default value."
yes, all i did was removing org.osgi.framework.system.packages and
putting in the file this instead:
org.osgi.framework.system.packages.extra = \
javax.servlet;javax.servlet.http;version=2.5, \
sun.security.util
>
> -> richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]