My goal is to copy XWiki page (parametrize by and xml file) from on Wiki to
anonther one (witch is not on the same platform).
Actually I have a java batch witch is call by an inline command.

As you said, i will rewrite my java code using XWikiXmlRpcClient. I test it
and I think it will be good for what I'm trying to do.

Thanks for your help;

Julien


                                                                       
             Sergiu Dumitriu                                           
             <[email protected]                                         
             >                                                           A
             Envoyé par :              XWiki Developers <[email protected]>
             devs-boun...@xwik                                          cc
             i.org                                                     
                                                                     Objet
                                       Re: [xwiki-devs] Acces to xwiki 
             11/02/2009 09:33          1.7.1 in Batch mode             
                                                                       
                                                                       
             Veuillez répondre                                       
                     à                                               
             XWiki Developers                                          
             <[email protected]>                                          
                                                                       
                                                                       




Julien Revert wrote:
>
> Hi,
>
> I wrote a java batch allowing to acces XWIKI.
>
> This batch was okay with 1.5.2 XWiki release but it's not working with
> 1.7.1 XWiki release.
>
> I don't understand where is my problem and need your help...
>
> I have a runtime error while execute line :
> wiki = new com.xpn.xwiki.XWiki(conf, new XWikiContext());

A stack trace would be useful...

> If someone has a better way to access XWIKI in batch mode; it good to !

It depends on what you're trying to do.

You can always use your favorite scripting language with an XmlRpc
connection to a running wiki. Or, in Java, you can use Swizzle to do
this, which makes things easier.

--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

<<inline: graycol.gif>>

<<inline: pic21520.gif>>

<<inline: ecblank.gif>>

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to