Hi,
I thought that we need a web module since there are a lot of files that
belong to the s5 application which can't currently be distributed in
another way, meaning the javascript/css/vm files. One way to do that
using only a xar would be to attach them to a XWikiSkins object enabled
in Presentations.WebPreferences, but this would require that all
presentations are created in the Presentations space, and we need to
make sure that s5 can be easily configured to work with those URLs.
Easily means that when a new version of s5 is out, we don't have to
spend more than 5 minutes to upgrade.
A better solution involves Interface Extensions, but it would take a lot
more time until it can be done that way. Btw, I'm almost ready to make a
proposal + implementation ideas in a few days regarding Interface
Extensions.
For the moment, it is a real PitA that there's no way to make an
application completely independent of the core skin/template files. And
I'm not that sure that my commit was such a good idea, but for the
moment it doesn't make any difference, since the application is mostly
unusable at the moment.
Anyway, I created the web submodule because I was looking at the files
in the platform-web/templates+skins directory, and there were a lot of
files belonging to the s5 applications which I had no idea how to
distribute inside a XAR.
Sergiu
We need to discuss this since this is starting
something new that
we've never discussed.
How do you plan to distribute the s5 application? I don't see how to
do that with a web module or do you mean that this web module will
generate a zip that the user will manually unzip in his xwiki webapp?
Should we distribute 2 files (XAR+ZIP) or one file (a single zip
containing both)?
Also this raises the question of plugins which I've started to discuss
some time ago: should they go in applications or stay in plugins/?
Thanks
-Vincent
On Nov 26, 2007, at 6:59 PM, sdumitriu (SVN) wrote:
Author: sdumitriu
Date: 2007-11-26 18:59:12 +0100 (Mon, 26 Nov 2007)
New Revision: 6086
Added:
xwiki-platform/xwiki-applications/trunk/s5/wiki/
xwiki-platform/xwiki-applications/trunk/s5/wiki/pom.xml
xwiki-platform/xwiki-applications/trunk/s5/wiki/src/
xwiki-platform/xwiki-applications/trunk/s5/wiki/src/main/
Removed:
xwiki-platform/xwiki-applications/trunk/s5/src/
xwiki-platform/xwiki-applications/trunk/s5/wiki/src/main/
Modified:
xwiki-platform/xwiki-applications/trunk/s5/pom.xml
Log:
Create a submodule for the wiki pages, as this application should
also contain velocity templates and skin files that will go in a web
module.
[snip]