On Thu, Apr 14, 2016 at 5:25 PM, abtv <andreybutov(a)mail.ru> wrote:
I use InstalledExtensionScriptService class to
retrieve a list of installed
extensions. I would like automatically upgrade RTWysiwyg (or any other)
extension if the current version less than the version in my jar file
(hardcoded). When I try to use ExtensionManagerScriptService class to
uninstall existing extension and then install the new one XWiki freezes. I
studied xwiki docs and think it can be a conflict. What should I do?
If you have a conflict it means you modified a standard document.
If you disabled interactive mode in the install request it won't
bother you again but if you mess with the standard documents you might
still have bad surprises...
You can look at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Script+Modul…
for various example of how to use the scrip API.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Is-it-possible-to-upgrade-xwiki-extension…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne