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

Running samplestack on ml-gradle #690

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Running samplestack on ml-gradle #690

wants to merge 6 commits into from

Conversation

rjrudin
Copy link

@rjrudin rjrudin commented Jul 8, 2015

The main changes here are:

  • Most of the custom tasks are gone in favor of existing tasks in ml-gradle
  • I re-organized the database config files and modules under database/ml-config and database/ml-modules

I kept MarkLogicSlurpTask largely as-is, as it contains a good amount of logic that is specific to samplestack. And I think it's a nice demo then of how if ml-gradle doesn't do something that you want, it's easy to make a custom task that does exactly what you want.

For testing, I did a new install of ML and ran "gradle appserver", and everything ran fine. This was done on ML 8.0-3.

@grechaw
Copy link
Contributor

grechaw commented Jul 31, 2015

I've had a chance to look at these changes -- I think it's a really good step for samplestack, not sure whether the PR is being analyzed by ss team...

@popzip popzip added the feedback label Aug 4, 2015
@laurelnaiad
Copy link
Contributor

Rob, could you help me understand the purpose behind rearranging the files in the repo? Was this necessary, did it make things easier?

@rjrudin
Copy link
Author

rjrudin commented Aug 20, 2015

Hey Daphne - the separation of ML config and modules is what ml-app-deployer expects by default, and the organization of ml-config is based on the management API.

I think it's a bit easier to understand for someone new to ML - they can go to the management API docs and seem the same breakout in the docs as they do in the ml-config directory.

The ml-modules directory structure is based on how samplestack is already organized.

@grechaw
Copy link
Contributor

grechaw commented Jan 15, 2016

I've verified this PR from the java side. I think it's ready to go. I also think its a great step forward for samplestack as it gets rid of many lines of code and takes the build stuff out of customizations.

@rjrudin
Copy link
Author

rjrudin commented Jan 15, 2016

Charles - I'm going to add support for mimetypes and then call ml-gradle a "2.0", and then I'll update the PR for this to include the latest version and the simplified buildscript (since only jcenter() is needed).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants