On Mar 11, 2011, at 7:36 PM, jvelociter (SVN) wrote:
Author: jvelociter
Date: 2011-03-11 19:36:58 +0100 (Fri, 11 Mar 2011)
New Revision: 35564
Modified:
platform/core/trunk/xwiki-annotations/xwiki-annotation-scripting/src/main/java/org/xwiki/annotation/internal/AnnotationScriptService.java
Log:
XWIKI-5111 Use ScriptService instead of custom velocity context initializer for
annotations script APIs
Ooops, forgot something that could be useful :)
Modified:
platform/core/trunk/xwiki-annotations/xwiki-annotation-scripting/src/main/java/org/xwiki/annotation/internal/AnnotationScriptService.java
===================================================================
---
platform/core/trunk/xwiki-annotations/xwiki-annotation-scripting/src/main/java/org/xwiki/annotation/internal/AnnotationScriptService.java 2011-03-11
18:24:32 UTC (rev 35563)
+++
platform/core/trunk/xwiki-annotations/xwiki-annotation-scripting/src/main/java/org/xwiki/annotation/internal/AnnotationScriptService.java 2011-03-11
18:36:58 UTC (rev 35564)
@@ -41,7 +41,7 @@
* @version $Id$
* @since 3.0-RC1
It's 3.0RC1 ;)
Thanks
-Vincent
*/
-@Component
+@Component("annotations")
public class AnnotationScriptService
{
/**