Skip to content

Modeshape does not load cnd files from conf directory when running tests #12

Open
@amischler

Description

@amischler

The Modeshape configuration files may reference nodes types definition files to load:

{
  "name": "cloud-repository-test",
  "node-types": ["conf/test.cnd"]
}

This configuration works when running the application but does not work when running tests.

When running tests, it seems that Modeshape tries to load the cnd file from the root directory of the module, so that the cnd file has to be duplicated there to allow the tests to be executed (see jcr-test module for example).

Any idea why the behavior is different in both cases and how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions