Hi!
As the beginning I would like to say Hi! everyone, I'm new to XWiki.
I've read this guide:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
I've got the main picture about this but how can I compile this component
(Should I?) and how can I include it in my XWiki installation?
So for example: I've make a HelloWorld component and I would like to use it
in a wiki page like this (using groovy):
<%
def greeter = com.xpn.xwiki.web.Utils.getComponent(org.xwiki.component.HelloWorld.ROLE);
println greeter.sayHello();
%>
How can I do that? What are the missing steps I need to do (currently i'm
having a directory with tree like this:
pom.xml
src/main/java/org/xwiki/component/HelloWorld.java
src/main/java/org/xwiki/component/internal/DefaultHelloWorld.java
src/main/resources/META-INF/plexus/components.xml
src/test/java/org/xwiki/component/HelloWorldTest.java
)?
Thanks for reading and your guidance!
--
Regards,
Bálint Kriván