Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP » RSE 1.0.1: Persisting property sets of an IHost
RSE 1.0.1: Persisting property sets of an IHost [message #12093] Wed, 09 May 2007 15:22 Go to next message
Andreas Schik is currently offline Andreas SchikFriend
Messages: 12
Registered: July 2009
Junior Member
Hi all,
I am adding a property set to a connection (IHost) and using the commit()
method of IHost they are persisted onto disk (I verified that in the file
system). That is what I expected, so far so good. The question now is, how
to retrieve them from disk. If I call getPropertySet() on the respective
IHost the property set is not there. It is still on disk, but it is
obviously not loaded. How do I do that?
Thanks
Andreas
Re: RSE 1.0.1: Persisting property sets of an IHost [message #12106 is a reply to message #12093] Thu, 10 May 2007 09:49 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
Hello Andreas,

this is a question specific to Target Management, so I'm cross-posting
to the eclipse.dsdp.tm newsgroup; please use that newsgroup for
follow-up questions.

I think that your problem is actually a known bug fixed for TM 2.0M6, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=150115

Can you upgrade to the recent TM 2.0 milestones? M7 is coming next week,
and from then on the API will be frozen. There's been a lot of API
changes so if you have much code already you'll need to migrate it; the
build notes give initial help doing so, but full migration docs yet need
to be written.

Thanks,
--
Martin Oberhuber
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm


Andreas Schik wrote:
> Hi all,
> I am adding a property set to a connection (IHost) and using the
> commit() method of IHost they are persisted onto disk (I verified that
> in the file system). That is what I expected, so far so good. The
> question now is, how to retrieve them from disk. If I call
> getPropertySet() on the respective IHost the property set is not there.
> It is still on disk, but it is obviously not loaded. How do I do that?
> Thanks
> Andreas
Re: RSE 1.0.1: Persisting property sets of an IHost [message #12119 is a reply to message #12106] Thu, 10 May 2007 12:02 Go to previous message
Andreas Schik is currently offline Andreas SchikFriend
Messages: 12
Registered: July 2009
Junior Member
Hello Martin,

Am 10.05.2007, 10:49 Uhr, schrieb Martin Oberhuber =

<martin.oberhuber@windriver.com>:

> Hello Andreas,
>
> this is a question specific to Target Management, so I'm cross-posting=
=

> to the eclipse.dsdp.tm newsgroup; please use that newsgroup for =

> follow-up questions.
>
> I think that your problem is actually a known bug fixed for TM 2.0M6, =
see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D150115
yes, it seems to be the same. Sorry for not checking the bug reports clo=
se =

enough.

> Can you upgrade to the recent TM 2.0 milestones? M7 is coming next wee=
k, =

> and from then on the API will be frozen. There's been a lot of API =

> changes so if you have much code already you'll need to migrate it; th=
e =

> build notes give initial help doing so, but full migration docs yet ne=
ed =

> to be written.
Actually, I went for another solution, as my first approach using host =

properties would have brought other problems for me. Hence, I dropped th=
is =

idea.

I appreciate your help anyway. Thanks.

Andreas
Re: RSE 1.0.1: Persisting property sets of an IHost [message #571119 is a reply to message #12093] Thu, 10 May 2007 09:49 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
Hello Andreas,

this is a question specific to Target Management, so I'm cross-posting
to the eclipse.dsdp.tm newsgroup; please use that newsgroup for
follow-up questions.

I think that your problem is actually a known bug fixed for TM 2.0M6, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=150115

Can you upgrade to the recent TM 2.0 milestones? M7 is coming next week,
and from then on the API will be frozen. There's been a lot of API
changes so if you have much code already you'll need to migrate it; the
build notes give initial help doing so, but full migration docs yet need
to be written.

Thanks,
--
Martin Oberhuber
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm


Andreas Schik wrote:
> Hi all,
> I am adding a property set to a connection (IHost) and using the
> commit() method of IHost they are persisted onto disk (I verified that
> in the file system). That is what I expected, so far so good. The
> question now is, how to retrieve them from disk. If I call
> getPropertySet() on the respective IHost the property set is not there.
> It is still on disk, but it is obviously not loaded. How do I do that?
> Thanks
> Andreas
Re: RSE 1.0.1: Persisting property sets of an IHost [message #571152 is a reply to message #12106] Thu, 10 May 2007 12:02 Go to previous message
Andreas Schik is currently offline Andreas SchikFriend
Messages: 12
Registered: July 2009
Junior Member
Hello Martin,

Am 10.05.2007, 10:49 Uhr, schrieb Martin Oberhuber =

<martin.oberhuber@windriver.com>:

> Hello Andreas,
>
> this is a question specific to Target Management, so I'm cross-posting=
=

> to the eclipse.dsdp.tm newsgroup; please use that newsgroup for =

> follow-up questions.
>
> I think that your problem is actually a known bug fixed for TM 2.0M6, =
see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D150115
yes, it seems to be the same. Sorry for not checking the bug reports clo=
se =

enough.

> Can you upgrade to the recent TM 2.0 milestones? M7 is coming next wee=
k, =

> and from then on the API will be frozen. There's been a lot of API =

> changes so if you have much code already you'll need to migrate it; th=
e =

> build notes give initial help doing so, but full migration docs yet ne=
ed =

> to be written.
Actually, I went for another solution, as my first approach using host =

properties would have brought other problems for me. Hence, I dropped th=
is =

idea.

I appreciate your help anyway. Thanks.

Andreas
Previous Topic:RSE 1.0.1: Persisting property sets of an IHost
Next Topic:Target Management 2.0M7 is released!
Goto Forum:
  


Current Time: Mon Dec 30 17:50:57 GMT 2024

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

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

Back to the top