To get xcc to copy modules over with (execute) permissions pre-applied, you can do the following:
And you can test by running this against the Modules database in CQ:
And you should see something like this
Thursday 30 June 2011
Wednesday 22 June 2011
MarkLogic: clearing a forest in a database programatically
Quick example for clearing everything in the "Modules" forest - I've renamed the string to protect anyone doing a quick copy/paste on their dev environment:
Labels:
administration,
marklogic,
marklogic xquery,
xquery
MarkLogic: Enabling debug options when using the Search API
Adding the following to your options element gives you access to a wealth of incredibly useful information when working with the Search API (search:search):
Labels:
debug,
marklogic,
query plan,
search,
search api
Tuesday 21 June 2011
Monday 13 June 2011
MarkLogic/XCC: Installing Modules Programatically
A quick example detailing how XCC can be used to install modules:
Saturday 4 June 2011
Eclipse: Installing XQDT (and DLTK) on Eclipse Indigo [3.7 RC3]
Some brief notes regarding getting set up with XQDT on Eclipse for XQuery app development...
Start by installing the Eclipse IDE for Java Developers from http://www.eclipse.org/downloads/index-developer.php (N.B. this is the link for the Release Candidate version of Eclipse 3.7 - for the current release, the link is http://www.eclipse.org/downloads/).
For everything else, you can use the Eclipse Install manager (Help > Install New Software...)
At outset, there are a couple of dependencies. First, the WST Server Adaptors from the Web, XML, Java EE and OSGi Enterprise Development section within http://download.eclipse.org/releases/indigo:
Then you need to install the DLTK 2.0 Core framework. To do this, add the update site repository http://download.eclipse.org/technology/dltk/updates/ to the "Work with" field and select Dynamic Languages Toolkit (DLTK) 2.0 and choose the package Dynamic Languages Toolkit - Core Frameworks
Finally, add the XQDT update site repository (also paste into the "Work with" input field) http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/ and select all the necessary components:
Start by installing the Eclipse IDE for Java Developers from http://www.eclipse.org/downloads/index-developer.php (N.B. this is the link for the Release Candidate version of Eclipse 3.7 - for the current release, the link is http://www.eclipse.org/downloads/).
For everything else, you can use the Eclipse Install manager (Help > Install New Software...)
At outset, there are a couple of dependencies. First, the WST Server Adaptors from the Web, XML, Java EE and OSGi Enterprise Development section within http://download.eclipse.org/releases/indigo:
Then you need to install the DLTK 2.0 Core framework. To do this, add the update site repository http://download.eclipse.org/technology/dltk/updates/ to the "Work with" field and select Dynamic Languages Toolkit (DLTK) 2.0 and choose the package Dynamic Languages Toolkit - Core Frameworks
Finally, add the XQDT update site repository (also paste into the "Work with" input field) http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/ and select all the necessary components:
Subscribe to:
Posts (Atom)
Blog Archive
-
▼
2011
(35)
-
▼
June
(6)
- MarkLogic/XCC: Copying a Module with User Content ...
- MarkLogic: clearing a forest in a database program...
- MarkLogic: Enabling debug options when using the S...
- Linux: SCP syntax and structure note
- MarkLogic/XCC: Installing Modules Programatically
- Eclipse: Installing XQDT (and DLTK) on Eclipse Ind...
-
▼
June
(6)