Looks like I was right the first time. It does create two different PackageAPI objects for: $xwiki.package.addAllWikiDocuments() $xwiki.package.exportToDir() However if you do the following, it will refer to the same object: #set ($package = $xwiki.package) $package.addAllWikiDocuments() $package.exportToDir() On 7/6/06, Duke Tantiprasut <[email protected]> wrote:
My bad. Looks like I was looking at Package and PackageAPI doh!
Still curious why the methods are still evaluated on "edit" and not just "view".
Thanks Duke
On 7/6/06, Duke Tantiprasut <[email protected]> wrote:
Hi,
I'm currently trying to extend the PackageAPI so that I can call the addAllWikiDocuments() and exportToDir() methods from xwiki itself rather than an external tool.
I ran into an interesting situation where the two following calls plugin calls in the wiki doc refers to two different objects:
$xwiki.package.addAllWikiDocuments() $xwiki.package.exportToDir()
Do ALL plugin method calls create their own object?
Also I noticed, that the methods are also called when I "edit" the wiki doc and not only when I view it. Is that normal?
Thanks Duke
On 7/5/06, jeremi joslin <[email protected]> wrote:
Hi, here is a backup tool made with it. http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/xwiki/xwiki-tools/backup/...
It's working with the svn version. It's not working with the xwiki-0-9-840.
Jérémi
On 7/5/06, Robin Fernandes < [email protected]> wrote:
Just thought I'd register my interest in this too. Last I heard, packaging is being developed and will be available in 1.0b1, as mentioned at the bottom here: http://mail-archive.objectweb.org/xwiki-dev/2006-05/msg00029.html
Regards, Robin
On 05/07/06, Duke Tantiprasut < [email protected] > wrote:
I'm looking for this as well. I'll let you know if I find something more definitive.
Duke
On 7/3/06, THOMAS, BRIAN M (SBCSI) < [email protected]> wrote:
I've seen some references to this, and even an XML package file for one application project, but no clear idea of how to create or consume a
package of XWiki documents for export.
Has a publicly available script been built to accomplish this? I'm sure that it wouldn't be a monstrous effort, but would of course like to have a common tool to use.
Brian M. Thomas - Senior Technical Architect AT&T Services, Inc. One SBC Center, Room 24D3 St. Louis, MO 63101 314 235 3141
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- You receive this message as a subscriber of the
mailing list. To unsubscribe: mailto: [email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- jeremi
--
You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws