Hi,
On Wed, Jul 15, 2009 at 2:00 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
Asiri Rathnayake wrote:
Hi devs,
I have completed wiki macro bridge implementation but there are few
things
that needs to be done inorder to commit it.
1. xwiki-properties module currently under sandbox (
http://svn.xwiki.org/svnroot/xwiki/sandbox/xwiki-core-properties/) need
to
be moved into
/platform/core/trunk/xwiki-properties
This should be a separate vote.
I forgot to mention. This module is required by wiki-macro-bridge. There was
a vote started by thomas long time ago to refactor macros to use this api
instead of BeanUtils but nobody voted for it. I thought it would not require
a seperate vote because it is a dependancy of wiki-macro-bridge.
2. Need to
commit the xwiki-application-wiki-macro-bridge under
/platform/xwiki-applications/trunk/wiki-macro-bridge. This application
hosts
XWiki.WikiMacroClass and
XWiki.WikiMacroParameterClass documents. For
2.0M3
we will remove this application and add
initialization code that will
generate these two pages automatically.
If this will be removed shortly, why not wait? I don't like creating an
application just so that it can be removed after a few days, since this
creates junk on jira, hudson, our maven repo...
Alternatively, we can keep the xar permanently, since it will contain a
nice UI for managing macros.
Yes we can keep it and it will become handy as you say when authoring wiki
macors.
3. Commit
xwiki-core-rendering-macro-wikibridge under
/platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-wikibridge
Why is the app called wiki-macro-bridge when the module is called
macro-wikibridge?
I find it hard to give an appropriate name :) Let me explain:
xwiki-core-rendering-macro-wikibridge is not itself a macro (unlike those
inside xwiki-rendering-macros) it's a bridge that allows creating macros
form wiki documents. But we could not find a better place to put this
module. So we decided to put it inside
xwiki-rendering/xwiki-rendering-macros/ and followed the macro module naming
convention which is xwiki-rendering-macro-(macroname)
The application itself contains the xwiki classes required for defining a
wiki macro. And it's not a macro, so we can't call it macro-wikibridge.
wiki-macro-bridge sounds more explanatory, so I went with it. Any
suggesstions?
Thanks.
- Asiri