Hi Victor I see you have jumped one step forward and you made the export script work within 0.9. I did not the issue you are mentionning (parsing code) -yet. My problem emerges when unpacking in the new wiki 1.1.1. Although the package looks like a valid zip file -and the XML descriptor file validates- the import script cannot list the documents arguing it cannot parse the XML file (see JIRA issue WIKI-1809).
Now my question: where do you get this information on the plugin? What does it do? Could you elaborate on what's useful in your case? Thank you Marc On October 18, 2007 06:10:37 pm Víctor A. Rodríguez wrote: > Víctor A. Rodríguez wrote: > > BTW, > > > > in v1.1 it doesn't works either. > > Of course export and import are already embedded in 1.1, in > > Administration tasks. > > > > Víctor A. Rodríguez wrote: > >> Hi, > >> > >> working with http://old.xwiki.org/xwiki/bin/view/Test/ImportExport I > >> could make it work a bit, but when select a couple of documents and > >> press Export, the next output is shown: > >> > >> $export.setWithVersions(false) $export.setAuthorName($author) > >> $export.setDescription($description) > >> > >> $export.setLicence($licence) > >> > >> $export.setName($packageName) $export.add($itemexp, > >> $xwiki.parseInt($defaultAction)) $export.add($itemexp, > >> $xwiki.parseInt($defaultAction)) $export.export() > > I'm pretty sure i found the missing link : the packaging plugin !!! > What I'll try to do is setup my development environment and compile this > plug-in > (http://svn.xwiki.org/svnroot/xwiki/xwiki-platform/core/trunk/xwiki-core/sr >c/main/java/com/xpn/xwiki/plugin/packaging/) > > if anyones think that I'm in the wrong path or has a better/simpler > answer, just let me know. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
