Class Modules

    • Constructor Detail

      • Modules

        public Modules()
    • Method Detail

      • discoverModulePath

        public static Path discoverModulePath()
        Discovers the JBoss Module directory to use. Use the org.wildfly.testing.tools.modules.immutable.paths system property to add a list of paths, separated by a path separator, which are immutable. The first non-immutable path is returned.

        Paths may be immutable for testing due to not wanting to pollute a local installation of the server.

        Returns:
        the JBoss Modules path where modules can be stored
        Throws:
        IllegalStateException - if there is no module path found or the only module paths are immutable paths