13 May
2009
13 May
'09
8:22 p.m.
I'm having a difficult time adding a java macro and getting it to get invoked. I first found this page and created my class and created a META-INF/plexus/components.xml per the 'tutorial' here: http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the+... I then found this tutorial for components (http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents) and created a META-INF/components.txt file and added an @Component("mymacro") annotation to the macro implementation. However, I am unable to get my macro code to get called when pages are rendered. Is there something else I'm missing? I've verified all the relevant files are in my jar. -- Glenn