persistence of IHost custom properties [message #483779] |
Wed, 02 September 2009 18:47  |
Eclipse User |
|
|
|
I have to associate some custom values with an IHost. I create a new
IPropertySet for the host and then create a new property by calling
IPropertySet.addProperty().
The new property set doesn't seem to be persistent. I restart my
application and the property is gone.
Should this work? Is there any other mechanism?
Thanks.
|
|
|
|
Re: persistence of IHost custom properties [message #484936 is a reply to message #484725] |
Wed, 09 September 2009 15:01  |
Eclipse User |
|
|
|
I didn't call commit(). It works now, thanks.
David McKnight wrote:
> Hi Vsevolod,
>
> I would expect this to work. After you add the property, do you call
> commit()?
>
> Dave
>
> "Vsevolod Sandomirskiy" <vss@ocsystems.com> wrote in message
> news:h7msm0$1f3$1@build.eclipse.org...
>> I have to associate some custom values with an IHost. I create a new
>> IPropertySet for the host and then create a new property by calling
>> IPropertySet.addProperty().
>>
>> The new property set doesn't seem to be persistent. I restart my
>> application and the property is gone.
>>
>> Should this work? Is there any other mechanism?
>>
>> Thanks.
>
>
|
|
|
Re: persistence of IHost custom properties [message #582438 is a reply to message #483779] |
Tue, 08 September 2009 17:58  |
Eclipse User |
|
|
|
Hi Vsevolod,
I would expect this to work. After you add the property, do you call
commit()?
Dave
"Vsevolod Sandomirskiy" <vss@ocsystems.com> wrote in message
news:h7msm0$1f3$1@build.eclipse.org...
>I have to associate some custom values with an IHost. I create a new
>IPropertySet for the host and then create a new property by calling
>IPropertySet.addProperty().
>
> The new property set doesn't seem to be persistent. I restart my
> application and the property is gone.
>
> Should this work? Is there any other mechanism?
>
> Thanks.
|
|
|
Re: persistence of IHost custom properties [message #582480 is a reply to message #484725] |
Wed, 09 September 2009 15:01  |
Eclipse User |
|
|
|
I didn't call commit(). It works now, thanks.
David McKnight wrote:
> Hi Vsevolod,
>
> I would expect this to work. After you add the property, do you call
> commit()?
>
> Dave
>
> "Vsevolod Sandomirskiy" <vss@ocsystems.com> wrote in message
> news:h7msm0$1f3$1@build.eclipse.org...
>> I have to associate some custom values with an IHost. I create a new
>> IPropertySet for the host and then create a new property by calling
>> IPropertySet.addProperty().
>>
>> The new property set doesn't seem to be persistent. I restart my
>> application and the property is gone.
>>
>> Should this work? Is there any other mechanism?
>>
>> Thanks.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.29105 seconds