On Wed, Jul 31, 2013 at 12:03 PM, Guillaume "Louis-Marie" Delhumeau < [email protected]> wrote:
Hi Edy
2013/7/30 Eduard Moraru <[email protected]>
Hi,
I suggest using the "-template-" name component, as in "xwiki-enterprise-workspace-template-ui" to avoid confusion with the xwiki-platform artefact(s).
Since it will be a dependency of xwiki-enterprise-ui, does it make sense to call it template?
On Tue, Jul 30, 2013 at 4:01 PM, Guillaume "Louis-Marie" Delhumeau < [email protected]> wrote:
For the Workspace integration in XE, I need to modify the default XARs. It makes me able to provide template XARs for the creation of subwikis, which will be different from the XAR of the main wiki (for example: we don't need the WorkspaceManager UI in every subwikis).
What I propose to do:
1/ Create a subproject *xwiki-enterprise-workspace-ui*, which defines what a workspace should be. 1bis/ Create a *xwiki-enterprise-workspace-ui-all* too, in * xwiki-enterprise-distribution*
2/ Create a subproject *xwiki-enterprise-wiki-ui*, which defines what a subwiki should be. 2bis/ Create a *xwiki-enterprise-wiki-ui-all* too, in * xwiki-enterprise-distribution*
3/ Add *xwiki-enterprise-wiki-ui* as a dependency of *xwiki-enterprise-ui*.
What do you want to achieve by doing this?
Currently we generate workspace-template.xar in xwiki-manager-ui by copying the xwiki-enterprise-ui-all XAR. But I am integrating Workspaces in XE so if we keep this construction, every workspace that use this template will have the WorkspaceManager too!
So, I need to clearly separate what is the XE UI and what is a template UI.
I got that :) I was actually asking about point 3. Making the XAR xe-ui depend on wiki-ui means what? To me it does not mean much, because you are not going to install the wiki-ui XAR, using EM, as a transitive dependency of xe-ui (where such a dependency declaration might be useful in a way). And even if you do that, all the contents of the wiki-ui XAR would be imported into the main wiki and that is not what you want by the current logic of Wiki/WorkspaceManager. So, unless I got it wrong, you might want to skip point 3.
Thanks, Eduard
This will be a temporary solution, because we will have flavours in the future.
WDYT?
Louis-Marie _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Thanks, Louis-Marie _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs