Re: [xwiki-devs] [Brainstorming] Being able to install an extension or import a XAR in a space

2016-09-21 Thread Thomas Mortagne
On Wed, Sep 21, 2016 at 10:41 AM, Vincent Massol wrote: > >> On 21 Sep 2016, at 10:28, Denis Gervalle wrote: >> >> Hi Vincent, >> Regarding the improvements to avoid absolute references, and increasing our >> ability to relocate application, this is a big +1, since it would be already >> helpfu

Re: [xwiki-devs] [Brainstorming] Being able to install an extension or import a XAR in a space

2016-09-21 Thread Vincent Massol
> On 21 Sep 2016, at 10:28, Denis Gervalle wrote: > > Hi Vincent, > Regarding the improvements to avoid absolute references, and increasing our > ability to relocate application, this is a big +1, since it would be already > helpful during refactoring of existing code, to avoid trivial breakag

Re: [xwiki-devs] [Brainstorming] Being able to install an extension or import a XAR in a space

2016-09-21 Thread Denis Gervalle
Hi Vincent, Regarding the improvements to avoid absolute references, and increasing our ability to relocate application, this is a big +1, since it would be already helpful during refactoring of existing code, to avoid trivial breakage. Now, about the idea of installing an extension multiple time

Re: [xwiki-devs] [Brainstorming] Being able to install an extension or import a XAR in a space

2016-09-20 Thread Vincent Massol
Note that it’s very very hard ATM to write an app that will work when installed in any space. Some gotchas: * xobject references in wiki pages are absolute * class sheet bindings are absolute Before we can do this we need to work on inventing the new syntax for relative references, see http://d

Re: [xwiki-devs] [Brainstorming] Being able to install an extension or import a XAR in a space

2016-09-20 Thread Vincent Massol
> On 20 Sep 2016, at 13:41, Vincent Massol wrote: > > Hi devs, > > Now that we support Nested Pages, I think it would be nice if we had the > option to install an Extension in a space (i.e. a page from a user POV). > > Technically at the Component Manager level, we can already register a > c