This sounds a lot like what the "Packager" application already in the CodeZone does... http://www.xwiki.org/xwiki/bin/view/Code/PackagerApplication I assume you'd be basing partly on that, rather than starting from scratch? I've made minor changes to the Application since I d/led it... but the PackageClass is essentially the ApplicationDescriptor, and there already is an Export page which takes care of exporting the documents. It's currently based on a text-field list of documents.. with the Applications I manage, it works just fine, as I know the documents in the application, and include the Package document w/in the xar I export. I was going to add a variant of the Export document that will do a query based on the space, and generate a xar based on the result of the query... On 9/12/07, Thomas Mortagne <[email protected]> wrote:
2007/9/12, Ludovic Dubost <[email protected]>:
Hi Vincent
+1
I think it would be great if applications have an "active" field and have a "translations" field which would be parsed by XWiki to load translations. This is the first need I see which would help deployment. Once it sufficiently documented we should deprecate the Packager that is published on xwiki.org
Vincent forgot to say that Application Manager also support "translation" pages in the descriptor that are, for now, updated in XWikiPreferences when installing or reload application :)
Ludovic
Vincent Massol a écrit :
Hi,
I'm about to commit the Application Manager from Thomas Mortagne. He has partially implemented this idea: http://www.xwiki.org/xwiki/bin/ view/Design/ApplicationManager
It's composed of 2 modules: - a plugin - a set of documents (XAR)
It allows to create applications inside a wiki by creating a page which acts as an Application Descriptor and which contains definition of all documents in an application, the version of the application, etc. It also allows to export an application as a XAR file (a standard XAR + this Application Descriptor). All in all it has 2-3 pages for managing applications, listing installed applications, etc.
I'm going to do the following:
1) Commit his work in platform/plugins and platform/applications 2) Document it on xwiki.org in the Applications section of the Code Zone
Later on, I think we could start using it for splitting XE into separate applications.
Just to let you know. As usual let me know if you think there's a problem.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost AIM: nvludo Yahoo: ludovic
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- 'Waste of a good apple' -Samwise Gamgee