[MarkLogic Dev General] XQSync OUTPUT_PATH and OUTPUT_PACKAGE
Mark Helmstetter
Mark.Helmstetter at marklogic.com
Mon Jul 30 11:13:18 PDT 2007
I think that the OUTPUT_PATH option is currently broken, I'd suggest that you use the OUTPUT_PACKAGE option instead.
________________________________
From: general-bounces at developer.marklogic.com on behalf of Patrick Force
Sent: Mon 7/30/2007 11:06 AM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] XQSync OUTPUT_PATH and OUTPUT_PACKAGE
I'm having some trouble here. It appears to be creating the output path folder and output package, but they're empty. here's one example of a call I'm making via command line. I've run it on both OS X and Windows producing the same result:
java -Dfile.encoding=UTF-8 -cp C:\lib\xqsync.jar;C:\lib\xcc.jar;C:\lib\xstream.jar;C:\lib\xpp3.jar -DINPUT_CONNECTION_STRING=xcc://username:password@arc90-db-01:8011 -DINPUT_QUERY="for $i in xdmp:directory('/carriers/') return xdmp:node-uri($i)" -DOUTPUT_PATH=C:\mlbackuptest com.marklogic.ps.xqsync.XQSync
I've tried variations on the OUTPUT_PATH like just 'mlbackuptest' and 'C:/mlbackuptest' etc.
Also, I've verified via the system out messages, that results are/should be coming back:
INFO: queued 5662 items
Jul 30, 2007 1:51:24 PM com.marklogic.ps.xqsync.Monitor monitor
INFO: processed item 4137 of 5662 as /carriers/87039H_2.xml
Jul 30, 2007 1:51:37 PM com.marklogic.ps.xqsync.Monitor run
INFO: loaded 5662 records ok
Jul 30, 2007 1:51:37 PM com.marklogic.ps.xqsync.XQSyncManager run
INFO: exiting
Jul 30, 2007 1:51:37 PM com.marklogic.ps.xqsync.XQSync main
INFO: completed 5662 in 51360 ms
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4238 bytes
Desc: not available
Url : http://xqzone.marklogic.com/pipermail/general/attachments/20070730/9581d98e/attachment.bin
More information about the General
mailing list