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
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] 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
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 [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
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 [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 [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
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 [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 [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] 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
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 [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 [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] 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
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
Hi All, I've finally got around to looking at the export/import groovy scripts and running into some strange problem. When trying to run the export.groovy I get the following error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, resolve_export.groovy: 21: unable to resolve class XWiki @ line 21, column 9. xwiki = new XWiki(); ^ 1 Error The strange thing is that it picks up the XWikiConfig and XWikiContext classes fine but not the XWiki.class. I checked the class path and the XWiki.class file exists. I tried removed the XWikiConfig.class in the same directory, it would complaing that I cant resolve XWikiConfig as well as expected. Any ideas why it wouldnt see XWiki.class? Example of the script and the classpath used when running GroovyShell is below. Thanks Duke ----- package xwiki.export; import com.xpn.xwiki.XWiki; import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.XWikiConfig; import com.xpn.xwiki.plugin.packaging.Package; println "Starting export"; context = new XWikiContext(); context.setUser("XWiki.superadmin"); config = new XWikiConfig(); config.put("xwiki.store.class", "com.xpn.xwiki.store.XWikiHibernateStore"); config.put("xwiki.store.hibernate.path", "./hibernate.cfg.xml"); config.put("xwiki.store.hibernate.updateschema", "1"); config.put("xwiki.virtual", "1"); println "Starting xwiki"; xwiki = new XWiki(); //xwiki = new XWiki(config, context); context.setWiki(xwiki); // define database db = "xwiki"; println("Export database " + db) context.setDatabase(db); println "Creating package"; pack = new Package(); pack.setWithVersions(false); println "Adding documents"; pack.addAllWikiDocuments(context); println "Exporting documents"; pack.exportToDir(new File("./db/"), context); println "Finished."; ----- Classpath used with GroovyShell: set CP=%XWIKIHOME%/WEB-INF/classes set CP=%CP%;%COMMONLIB%/commons-cli-1.0.jar set CP=%CP%;%XWIKILIB%/groovy-all-1.0-jsr-05.jar set CP=%CP%;%XWIKILIB%/ant-1.6.2.jar set CP=%CP%;%XWIKILIB%/antlr-2.7.5.jar set CP=%CP%;%XWIKILIB%/alexa.jar set CP=%CP%;%XWIKILIB%/asm-1.5.3.jar set CP=%CP%;%XWIKILIB%/asm-util-1.5.3.jar set CP=%CP%;%XWIKILIB%/avalon-framework-4.1.5.jar set CP=%CP%;%XWIKILIB%/axis-1.2RC2.jar set CP=%CP%;%XWIKILIB%/batik-all-1.6.jar set CP=%CP%;%XWIKILIB%/c3p0-0.8.4.5.jar set CP=%CP%;%XWIKILIB%/cglib-2.1.jar set CP=%CP%;%XWIKILIB%/commons-beanutils-1.7.0.jar set CP=%CP%;%XWIKILIB%/commons-codec-1.3.jar set CP=%CP%;%XWIKILIB%/commons-collections-3.1.jar set CP=%CP%;%XWIKILIB%/commons-dbcp-1.2.1.jar set CP=%CP%;%XWIKILIB%/commons-digester-1.6.jar set CP=%CP%;%XWIKILIB%/commons-discovery-0.2.jar set CP=%CP%;%XWIKILIB%/commons-fileupload-1.0.jar set CP=%CP%;%XWIKILIB%/commons-httpclient-2.0.2.jar set CP=%CP%;%XWIKILIB%/commons-lang-2.1.jar set CP=%CP%;%XWIKILIB%/commons-logging-1.0.4.jar set CP=%CP%;%XWIKILIB%/commons-net-1.1.0.jar set CP=%CP%;%XWIKILIB%/commons-pool-1.1.jar set CP=%CP%;%XWIKILIB%/dom4j-1.6.jar set CP=%CP%;%XWIKILIB%/ecs-1.4.2.jar set CP=%CP%;%XWIKILIB%/ehcache-1.1.jar set CP=%CP%;%XWIKILIB%/fop-0.20.5.jar set CP=%CP%;%XWIKILIB%/googleadwords.jar set CP=%CP%;%XWIKILIB%/googleapi.jar set CP=%CP%;%XWIKILIB%/hibernate-3.0.3.jar set CP=%CP%;%XWIKILIB%/hibernate-tools-2.1.3.jar set CP=%CP%;%XWIKILIB%/hsqldb-1.7.3.jar set CP=%CP%;%XWIKILIB%/ical4j-0.9.19M.jar set CP=%CP%;%XWIKILIB%/jaxrpc-1.1.jar set CP=%CP%;%XWIKILIB%/jdom-1.0.jar set CP=%CP%;%XWIKILIB%/jfreecharts-1.0.0-rc1.jar set CP=%CP%;%XWIKILIB%/jgroups-2.2.9.1.jar set CP=%CP%;%XWIKILIB%/jimi.jar set CP=%CP%;%XWIKILIB%/jta.jar set CP=%CP%;%XWIKILIB%/jtidy.jar set CP=%CP%;%XWIKILIB%/ldap.jar set CP=%CP%;%XWIKILIB%/log4j-1.2.8.jar set CP=%CP%;%XWIKILIB%/mail-1.3.2.jar set CP=%CP%;%XWIKILIB%/mysql.jar set CP=%CP%;%XWIKILIB%/org.apache.commons.jrcs.diff.jar set CP=%CP%;%XWIKILIB%/org.apache.commons.jrcs.rcs.jar set CP=%CP%;%XWIKILIB%/oro-2.0.8.jar set CP=%CP%;%XWIKILIB%/oscache-2.2.jar set CP=%CP%;%XWIKILIB%/picocontainer-1.0.jar set CP=%CP%;%XWIKILIB%/portlet.jar set CP=%CP%;%XWIKILIB%/radeox.jar set CP=%CP%;%XWIKILIB%/rome-0.7.jar set CP=%CP%;%XWIKILIB%/saaj-1.2.jar set CP=%CP%;%XWIKILIB%/security-filter-2.0.jar set CP=%CP%;%XWIKILIB%/struts-1.2.4.jar set CP=%CP%;%XWIKILIB%/swarmcache.jar set CP=%CP%;%XWIKILIB%/velocity-1.4.jar set CP=%CP%;%XWIKILIB%/velocity-tools-1.1.jar set CP=%CP%;%XWIKILIB%/xalan-2.6.0.jar set CP=%CP%;%XWIKILIB%/xerces-2.4.0.jar set CP=%CP%;%XWIKILIB%/xmlrpc-1.2.jar 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 [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 [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] 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
participants (4)
-
Duke Tantiprasut -
jeremi joslin -
Robin Fernandes -
THOMAS, BRIAN M (SBCSI)