Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Suppress the complaint about schemas if dir does not exist #732

Closed
grtjn opened this issue Feb 3, 2017 · 1 comment
Closed

Suppress the complaint about schemas if dir does not exist #732

grtjn opened this issue Feb 3, 2017 · 1 comment
Assignees
Milestone

Comments

@grtjn
Copy link
Contributor

grtjn commented Feb 3, 2017

If you generate a blank roxy project, it comes without schemas/ directory. If you then run ./ml local install you get messages like these:

Warning: app-specific schemas database not defined. Deploying schemas to the Schemas database. The clean and wipe commands will not remove these schemas.

ERROR: /Users/gjosten/Projects/github-grtjn/slush-marklogic-node/tmp/xxx/schemas does not exist

Loaded 0 schemas from /Users/gjosten/Projects/github-grtjn/slush-marklogic-node/tmp/xxx/schemas to ml9-ml1:8040/Schemas

All these messages could simply be skipped if the dir pointed at by ml.schemas.dir does not exist.

@RobertSzkutak RobertSzkutak self-assigned this Feb 3, 2017
@RobertSzkutak RobertSzkutak added this to the April 2017 milestone Feb 3, 2017
@grtjn grtjn assigned grtjn and unassigned RobertSzkutak May 26, 2017
grtjn added a commit to grtjn/roxy that referenced this issue May 26, 2017
grtjn added a commit to grtjn/roxy that referenced this issue May 28, 2017
RobertSzkutak added a commit that referenced this issue May 31, 2017
Fixed #732: only attempt deploy_schemas if schemas.dir exists
@grtjn
Copy link
Contributor Author

grtjn commented May 31, 2017

Fixed in dev

@grtjn grtjn closed this as completed May 31, 2017
@grtjn grtjn changed the title Suppress complains about schemas if dir does not exist Suppress the complaint about schemas if dir does not exist Jun 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants