Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » persistence of IHost custom properties
persistence of IHost custom properties [message #483779] Wed, 02 September 2009 22:47 Go to next message
Vsevolod Sandomirskiy is currently offline Vsevolod SandomirskiyFriend
Messages: 21
Registered: July 2009
Junior Member
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 #484725 is a reply to message #483779] Tue, 08 September 2009 21:58 Go to previous messageGo to next message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
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 #484936 is a reply to message #484725] Wed, 09 September 2009 19:01 Go to previous message
Vsevolod Sandomirskiy is currently offline Vsevolod SandomirskiyFriend
Messages: 21
Registered: July 2009
Junior Member
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 21:58 Go to previous message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
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 19:01 Go to previous message
Vsevolod Sandomirskiy is currently offline Vsevolod SandomirskiyFriend
Messages: 21
Registered: July 2009
Junior Member
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.
>
>
Previous Topic:Problem using SystemRemoteFolderDialog
Next Topic:isLink not returning correct value for IRemoteFile
Goto Forum:
  


Current Time: Sat Apr 20 02:27:33 GMT 2024

Powered by FUDForum. Page generated in 0.03398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top