Skip to content

[appserver-io/appserver] Custom include paths in SplClassLoader not used #731

@wagnert

Description

@wagnert

If a the SplClassLoader has been specified in META-INF/context.xml configured include paths are not used.

<?xml version="1.0" encoding="UTF-8"?>
<context 
    name="example" 
    factory="AppserverIo\Appserver\Application\ApplicationFactory" 
    type="AppserverIo\Appserver\Application\Application" 
    xmlns="http://www.appserver.io/appserver">

    <classLoaders>
        <classLoader
            name="MyClassLoader"
            interface="ClassLoaderInterface"
            type="AppserverIo\Appserver\Core\SplClassLoader"
            factory="AppserverIo\Appserver\Core\SplClassLoaderFactory">
            <directories>
                <directory>/common/classes</directory>
                <directory>/WEB-INF/classes</directory>
                <directory>/META-INF/classes</directory>
            </directories>
        </classLoader>
    </classLoaders>

</context>

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions