incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harry Metske <harry.met...@gmail.com>
Subject Re: jcr import jspwiki-export
Date Mon, 17 Aug 2009 20:01:02 GMT
OK,
working on it, I ran into an NPE that can be solved by upgrading priha.
The current prih version is 0.1.29, but jspwiki still has 0.1.22, can we
upgrade this ?

Harry

2009/8/17 Janne Jalkanen <janne.jalkanen@ecyrd.com>

>
> Yup, priha supports XML import, but currently there's no way to call the
> Workspace.import() method... (It's not in the standard).  You would need to
> write a small program which does that.
>
> It might make sense to make it a JSPWiki component which you could simply
> run from the command line.
>
> Also, I have not yet tried to do an XML import myself either, so I don't
> know whether the XML output from Export is valid in any way.
>
> /Janne
>
>
> On 17 Aug 2009, at 21:11, Harry Metske wrote:
>
>  Hi all,
>> I want to put some effort again in testing JSPWiki 3.0, and want to use
>> existing data.
>> We already have an Exporter class that exports a classic JSPWiki repo into
>> an XML file.
>> Now I want to import this into an priha JCR repo and use that as the
>> JSPWiki
>> repo.
>>
>> Does priha offer that ?
>> I have seen there is an XMLImport class, but it doesn't have a main()
>> method.
>>
>> What is the best approach to create a repo (from an existing classic
>> JSPWiki
>> repo) that can be used by JSPWiki with priha ?
>>
>> regards,
>> Harry
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message