Re: [xwiki-users] Writing a Filter Module

2015-04-28 Thread BOISSIER, Francois
Thank you Thomas,

I will keep you posted about my progress

De : users [users-boun...@xwiki.org] de la part de Thomas Mortagne 
[thomas.morta...@xwiki.com]
Envoyé : mardi 28 avril 2015 17:23
À : XWiki Users
Objet : Re: [xwiki-users] Writing a Filter Module

On Tue, Apr 28, 2015 at 5:22 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Tue, Apr 28, 2015 at 5:14 PM, BOISSIER, Francois
 francois.boiss...@capgemini.com wrote:
 Hi,

 In my quest to import JSPWiki data into xWiki I found a thread about writing 
 a new Filter Module.

 I see the source code of the Confluence Filter but I'm confused about this.

 Can I write it as an xWiki component ? Can I write it without embedded it 
 into xwiki source code ?

 Yes Filter framework is meant to be extended, all you have to do is
 implement the right interfaces. Confluence is just an example, it's
 platform of plaform because it has been written and is maintained by
 the XWiki Core Team that's all.

s/platform of plaform/part of platform/



 François B.
 This message contains information that may be privileged or confidential and 
 is the property of the Capgemini Group. It is intended only for the person 
 to whom it is addressed. If you are not the intended recipient, you are not 
 authorized to read, print, retain, copy, disseminate, distribute, or use 
 this message or any part thereof. If you receive this message in error, 
 please notify the sender immediately and delete all copies of this message.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



 --
 Thomas Mortagne



--
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Writing a Filter Module

2015-04-28 Thread BOISSIER, Francois
Hi,

In my quest to import JSPWiki data into xWiki I found a thread about writing a 
new Filter Module.

I see the source code of the Confluence Filter but I'm confused about this.

Can I write it as an xWiki component ? Can I write it without embedded it into 
xwiki source code ?

François B.
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] JSPWiki To XWiki conversion

2015-04-23 Thread BOISSIER, Francois
Hello,

I try to use this program to convert JSPWiki pages to xWiki page :

http://extensions.xwiki.org/xwiki/bin/view/Extension/JSPWiki+To+XWiki+Conversion

But I encounter many issues :
- I can't instantiate XWikiContext class, but the usage of 
EmbeddableComponentManager before the instantiation corrects this problem
- The com.xpn.xwiki.XWiki class instantiation gave me these following 
exceptions :

Caused by: java.lang.RuntimeException: Failed to load component 
[com.xpn.xwiki.store.XWikiStoreInterface] for hint [null]
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:651)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:775)
at com.xpn.xwiki.XWiki.init(XWiki.java:723)
at com.xpn.xwiki.XWiki.init(XWiki.java:717)
... 1 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to 
lookup component [role = [com.xpn.xwiki.store.XWikiStoreInterface] hint = 
[default]]
at 
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:368)
at 
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:649)
... 5 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to 
lookup component [role = [org.xwiki.query.QueryManager] hint = [default]]
at 
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:368)
at 
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
at 
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:403)
at 
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
... 7 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to 
lookup component [role = [org.xwiki.query.QueryExecutorManager] hint = 
[default]]
at 
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:368)
at 
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
at 
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:403)
at 
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
... 10 more
Caused by: java.lang.NullPointerException
at 
org.xwiki.component.embed.EmbeddableComponentManager.lookupMap(EmbeddableComponentManager.java:167)
at 
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:401)
at 
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
... 13 more 

I tried to add xwiki and hibernate configuration files to the classpath but it 
still crash.

Should I use another ComponentManager ? Do you know another way to launch a 
standalone version of xWiki runtime ?

Regards,

François B.
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Extension manager usage with offline instance

2015-04-16 Thread BOISSIER, Francois
Hello,

I have a xwiki 7.0 instance without internet connection, so I have to manually 
install the extensions using xar archives.

The manually installed extensions don't appeared in Installed Extensions menu 
of the extension manager.

Can you tell me if this  is normal ? Also, can you tell me how to cleanly 
uninstall manually installed extensions ?

Regards,

François


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users