Thanks for ur reply Simak...I'm new to mangolia...I have written the following 
groovy script to synchronise a page called 'sample' in 'website' 
workspace....Could you please help me to find out the place where im making 
mistake. Where should we obtain the instance of 
info.magnolia.module.synchronization.commands.SynchronizationCommand from 
CommandsManager? Thanks in advance for ur reply.....

cm = info.magnolia.commands.CommandsManager.getInstance()
command = cm.getCommand('synchronize') 
command.setRepository('website') 
command.setPath('/sample') 
command.setClone(true) 
command.setRecursive(true)
command.execute(ctx)

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=51172220-2e57-49ec-a323-bd6b01c81cca


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to