Hi Vincent,

vmassol wrote:
> 
> Yes it needs to be declared in a META-INF/components.txt file.
> See the doc at
> http://code.xwiki.org/xwiki/bin/view/Modules/ComponentModule
> 

After some tries, I finally succeed to use the HelloWorld component with
groovy and velocity in my wiki !! Like you said, I declared it in a
META-INF/components.txt. I also added all the annotations as described in
http://code.xwiki.org/xwiki/bin/view/Modules/ComponentModule (without being
stupid and forgetting the "import org.xwiki.component.annotation.*;" !!).

So, thank you Anca, Marius and Vincent for your help.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Error-when-building-new-xwiki-component-tp5259941p5265235.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to