[opencms-dev] Question about siblings

Jordi Martí jmarti at theinit.com
Wed May 7 01:04:12 CEST 2008


Mmh, Yves... consider "siblings" as "brothers".

If one "real" boy has one brother... Both are brothers. And each one of them
is not more or less real than the other one. 

Same for siblings. If you make a sibling for a file, the other file is not
less real. Both are siblings each other. It doesn't matter which one was
first. Both are real files that share content and have different properties.
Simply that.

   
 
JORDI MARTÍ 
EMAIL jmarti AT _theinit_ DOT com

 
 
 
 

-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Yves Glodt
Enviado el: martes, 06 de mayo de 2008 16:34
Para: The OpenCms mailing list
Asunto: [opencms-dev] Question about siblings

Hello,

we just had a confusing experience with sibling and I have some questions to

be sure we really understand how they work... :-)

Imagine I have a file called /folder1/test.html which is *no* sibling
Now I create /folder1/test2.html as a sibling of the previous, which gives
me 
this:

/folder1/test.html <- real file
/folder1/test2.html <- sibling of the above

First, it's strange to see that both files, after I created the sibling, get

the icon in the workspace with the little arrow, which makes both look like 
siblings, even, for my understanding, I have one "original" (test.html) and 
one "link" (test2.html) to it (much like symlinks known from linux)

Then, imagine I copy /folder1 to /folder2, telling that resources should be 
copied, and siblings should be created as siblings.

In my understanding, /folder2/test.html should then be a real file, and not
a 
sibling, but in my case it *is* a sibling. when I edit it I 
edit /folder1/test.html as well... which is not what I want....

is this an expected behaviour?

I use OpenCms 7.0.4 with java 1.5.0.14 and tomcat 5.5.20 on debian etch.

regards,
Yves

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list