I want to share existing node to another node(without creating copy)

Tried  cloning from workspace, it tries to create another node, but I need
only a reference on other node, so that if I make any modification on
'Document node' will reflect on all other shared nodes.

*workspace.clone(workspaceName, sourceDocPath, targetNodePath, false);

Node 1 : /1/Task/Sample Node 
Node 2 : /1/Task/Sample Node 2*

Document Node added to  'Node 2'

*Doc Node : /1/Task/Sample Node 2/Test_Doc.pdf*

Now I want to share 'document node' to 'node 1'?


Using Jackrabbit - 2.8.1 and JCR - 2.0







--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Sharing-Node-tp4663769.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to