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 <[email protected]> > > 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 >> > >
