In addition to Linesh's comment, your reference to 
src/main/resources/ml-modules suggests that you cloned the 
https://github.com/marklogic-community/marklogic-data-hub. You should do that 
only if you want to contribute to the framework itself, not if you want to use 
it to create a data hub.

To create a data hub project, please see the Creating a Data Hub 
Project<https://marklogic-community.github.io/marklogic-data-hub/project/> part 
of the documentation.

--
Dave Cassel, @dmcassel<https://twitter.com/dmcassel>
Manager/Senior Staff Engineer
MarkLogic Labs
MarkLogic Corporation<http://www.marklogic.com/>
http://developer.marklogic.com/

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Linesh Sheth 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Monday, December 18, 2017 at 5:03 PM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [MarkLogic Dev General] custom module for data hub not loading

Hi Vikas,

Code need to go in the user-config folder at the top-level of the project. See 
https://github.com/marklogic-community/marklogic-data-hub/wiki/Project-Directory-Structure#user-config-folder
 for details.

Thanks,
Linesh

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Monday, December 18, 2017 at 11:53 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] custom module for data hub not loading

Hi All,

I want to deploy custom modules to module database for data hub project 
structure . I have created folder inside “src/main/resources/ml-modules” .when 
I am executing gradle mlLoadModules it is not loading my custom modules .My 
custom modules exist in “ext” folder. But When I am executing this command in a 
normal project which is not a data-hub but a gradle project custom code loaded 
successfully.

Do I need to put any configuration in build.gradle for data hub to load mu 
modules to module database.

Regards,
Vikas Singh
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to