You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by Hasan Hasan <ha...@trialox.org> on 2011/07/01 11:57:55 UTC

automatic renaming of mgraphs

Hi Reto,

just wanna be sure about this.

upon activation of the ContentGraphProvider service, old-style names of
system, config, content, and graph-access graph will be renamed.
So in principle, if I have those graphs in old-names in my felix-cache, I
just can use the new launcher and those graphs will be automagically
renamed, right?

If in all my new code I use Constants.[SYSTEM_GRAPH_URI | CONFIG_GRAPH_URI |
CONTENT_GRAPH_URI ] then I will be on the save side.

Principally, I can just use my current felix-cache with old graph names, go
to the mgraph folder and rename those mgraphs by hand (using mv command)
and then run the new launcher compiled using new graph names. And all will
work as if nothing has changed.

If there is something wrong in my statements here, please let me know.

Regards
Hasan

Re: automatic renaming of mgraphs

Posted by Reto Bachmann-Gmuer <re...@apache.org>.
Apart for the usual warning and reminder to do a backup I have nothing to
add to what you write. The idea is that you can update from any pre-release
version to the release and that the rename functionality will be removed
later.

Renaming the directories manually also works. Cache-graphs are best just
deleted.

Cheers,
Reto
On Jul 1, 2011 11:57 AM, "Hasan Hasan" <ha...@trialox.org> wrote:
> Hi Reto,
>
> just wanna be sure about this.
>
> upon activation of the ContentGraphProvider service, old-style names of
> system, config, content, and graph-access graph will be renamed.
> So in principle, if I have those graphs in old-names in my felix-cache, I
> just can use the new launcher and those graphs will be automagically
> renamed, right?
>
> If in all my new code I use Constants.[SYSTEM_GRAPH_URI | CONFIG_GRAPH_URI
|
> CONTENT_GRAPH_URI ] then I will be on the save side.
>
> Principally, I can just use my current felix-cache with old graph names,
go
> to the mgraph folder and rename those mgraphs by hand (using mv command)
> and then run the new launcher compiled using new graph names. And all will
> work as if nothing has changed.
>
> If there is something wrong in my statements here, please let me know.
>
> Regards
> Hasan