ok 0, but just not to block the decision.
do as you want.
but I don't see the difference between writing in an XML file or a
manifest. You will both have to document it. I don't like manifest
because AFAIK it's a plain text file and not an xml. You will have
other problems I think.
A JAR isn't a Zip in Java term. It's using the
same compression
algorithm. It's very different in term of metadata. I won't go in
more details but you can check the JAR specification to know more
about this.
A xar is not a zip in XWiki term :-)
It's possible but harder. For example to read a
JAR inside a XAR
you'll probably need to write and register special handlers against
various classes (such as URL factories, etc).
XAR is just an IMPORT/EXPORT format
so you will not need this. you
just need to extract the jar from it!
And it's possibly buggy :-) And you're the
only one who knows about
it. And it isn't documented. And you haven't implemented it for
Maven2 (it's not easy and has some issues) nor any of the tool that
will crop up.
No, xwiki isn't the only one. All tools will be able to read a
JAR or
a ZIP (be them IDE, build tools, desktop tools, etc).
When I've done we were not working with maven, but we were with ant.
and it's implemented in ant (by ludovic).
I'm not he only one who know how the xar is working.
For example there's no selective export so you
have to expand it as a
zip, remove files, edit the package.xml file and repackage.
No, I've done one,
and Vincent you know it.
...
that can be a long discussion. Do as you want, i will not argue
anymore on this.
jeremi
--
Jeremi Joslin (
http://www.jeremi.info)
skype: jeremi23 - jabber: jeremi23(a)gmail.com
http://www.xwiki.com -
http://www.pengyou-project.info