Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.

Using "gradle dbconfigure" for server extension development

Charles Greer edited this page Aug 14, 2014 · 4 revisions

When you're developing MarkLogic extensions, it's convenient to have them installed on the server automatically. The gradle dbConfigure command knows what has changed in the database directory between runs, so if you edit, for example, /database/options/questions.json and then run gradle dbconfigure, just that file will be uploaded to the MarkLogic server.

If you want even to avoid having to run the gradle command, it's possible to put it into a bash loop. I find that this command, running in a shell, makes server configuration and extension simply a matter of editing and saving your file, and watching test output:

while true; do gradle dbconfigure ; sleep 5; done

Clone this wiki locally