Hi all,
To be able to completely doing it there is still a problem : the xwiki
maven plugin we use to create distribution database use
Packager.readFromDir that import a wiki pages from a directory. the
problem is that this way to import does not works like xar import and
does not support import wiki page with any files extension.
I already made some modifications to Packager to support any file
extension in readFromDir but not committed yet because I'm not sure
where to commit.
- If we want xwiki maven packager plugin to not depends on trunk the
readFromDir fix as to be committed to 1.2 branch.
- If the plugin depends on trunk and we modify in any way the
database format the plugin will not be able to generate databases 1.2
branch support I guess (not sure on that).
- An other solution would be to branch xwiki maven packager plugin.
I'm more for the second solution (commit Packager fix on trunk and 1.2 branch).
WDYT ?
2007/11/28, Thomas Mortagne <thomas.mortagne(a)xwiki.com>om>:
Here's the result:
* 3 +1 (+1 non binding vote from Anca)
* 0 0
* 0 -1
I will make it on trunk after 1.2 branch and 1.2 first RC release
(planned for this Friday). So this will be the first new 1.3 feature
:)
2007/11/22, Thomas Mortagne <thomas.mortagne(a)xwiki.com>om>:
Hi all,
Having xwiki document with no extension in the files names is a real
mess for subversion and IDEs like Eclipse and IntelliJ IDEA and it
will also be very useful in any editor that takes extension to
determine the content or simply for most OS Explorers/Finders.
As the XWiki maven xar plugin now support files with any name when
creating the xar package (see
http://jira.xwiki.org/jira/browse/XTOOLS-19) I propose to add .xml
extension to exported document files names.
Import document with any names is already supported by xwiki core
importer plugin since at least svn1387 (October 2006) and I think
since it's creation so it seems it will not break older version
import.
--
Thomas Mortagne
--
Thomas Mortagne