On 15 Apr 2017, at 19:29, Sergiu Dumitriu
<sergiu(a)xwiki.org> wrote:
Depending
on how this is implemented, this can also solve another issue:
installing war snapshots. This is something that some of the PhenoTips
users have been asking about, and while possible, it's not as easy as
just putting the war in Tomcat and running the distribution wizard.
I don’t understand what this means. What are the issues? What would your users need/want?
Build a snapshot, deploy the resulting war on a server.
The distribution wizard, by default, won't find the right XARs.
One idea is to enable the snapshots Nexus repository as an extension
repository for XWiki, but this only works if the same snapshot was
recently built by Jenkins, not if there are other changes (or if there's
no Jenkins/Nexus at all set up for the custom fork of the user).
Ok I see.
Yes we need to stop making the All XAR available since it’s not handling JAR dependencies
and instead provide a ZIPped extension directory that users can simply unzip in the
extensions directory of their permanent directory (or some other special directory
configured as an extension repo by default in XWiki and that XWiki installs by default at
startup or something like that).
Thanks
-Vincent
What I tell them to do is to get the extensions
directory from the .zip,
put it on the server in the permanent directory, and run a find+sed
script that sets the <installed.installed> flag to false.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/