Hi all,
I need to import upgraded XAR archives in xwiki on many Linux servers running an
integrated system we made with liferay, zimbra, alfresco and of course xwiki. Importing
them via web interface it is quite time comsuming and web ports are not always easily
reachable.
I looked for a way to import the XARs from command line but i haven't figured out how
to do that, could you suggest me how to do that?
I think I can't reach my goal with shell scripting, xwiki preferences/import page
scraping and curl posting because authentication is centrally managed by CAS and it needs
client-side javascript to succeed.
I could use a method like the one described at:
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippet
by defining a local directory on the server where to deploy the XARs and then running a
macro that gets the file list and imports them, but doing all from the shell would be
better.
Any help would be very appreciated, thanks in advance!
Ciao,
Max