Hi David,

 

Thanks for your reply. One of my colleagues helped me get to the bottom
of the problem. I was incorrectly using Windows-style backslashes in my
script when trying to import the marklogic module. When I changed it to:
import module ml=/xmlsh/ext/marklogic/module.xml then my hello world
query ran okay. I'm now going to use it to set permissions. I'm going to
test one document and them run over the whole database.

 

Chris

 

From: [email protected]
[mailto:[email protected]] On Behalf Of David Lee
Sent: Tuesday, February 21, 2012 11:57 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Problem setting up xmlsh
withMarkLogic extension module

 

Hi, please contact me directly for further help. 

This page describes the setup necessary

http://www.xmlsh.org/ModuleMarkLogic

 

In particular have you set the  XMODPATH variable ? Have you downloaded
the xcc .jar file and put it into the same directory as the marklogic
module ?

What version of xcc are you using ?  The version which the latest module
is expecting is marklogic-xcc-5.0.1.jar

Is that what you are using ?  If not you  can edit the module.xml file
to specific your xcc jar.  Or you can download and install the 5.0.1  

 

-David

 

 

------------------------------------------------------------------------
-----

David Lee
Lead Engineer
MarkLogic Corporation
[email protected]
Phone: +1 650-287-2531
Cell:  +1 812-630-7622
www.marklogic.com <http://www.marklogic.com/> 

This e-mail and any accompanying attachments are confidential. The
information is intended solely for the use of the individual to whom it
is addressed. Any review, disclosure, copying, distribution, or use of
this e-mail communication by others is strictly prohibited. If you are
not the intended recipient, please notify us immediately by returning
this message to the sender and delete all copies. Thank you for your
cooperation.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Schwartz,
Christine
Sent: Tuesday, February 21, 2012 11:52 AM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Problem setting up xmlsh with MarkLogic
extension module

 

Hi,

 

I'm new to programming and having trouble setting up xmlsh with the
MarkLogic extension module.

 

I'm working in a Windows 7 environment. I've been able to get xmlsh
working and have added an XMLSH environment variable and added to the
PATH variable (;%XMLSH%\win32). So, I've gotten that far. I'm stuck on
the CLASSPATH. Do I append the CLASSPATH for both xmlsh and the
MarkLogic extension module? What exactly would that look like? I've
tried this, but it did not seem to work.

 

I've have written a script to run a Hello World query using the ML
extension module, but I'm getting "FileNotFoundException."

 

Thanks,

 

Chris

 

Christine Schwartz

XML Database Administrator

Princeton Theological Seminary Library

[email protected]

 

 

 

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to