0

我像这样在wildfly中使用ovelray:

    <deployment-overlays>
        <deployment-overlay name="dep-lib">
            <!-- ... -->
            <content path="/WEB-INF/lib/org-springframework-spring-aop-3.2.10.RELEASE.jar" content="77d0b86238df32cb15e469eaa2f7f32c4893dc54"/>
            <content path="/WEB-INF/lib/org-springframework-spring-aspects-3.2.10.RELEASE.jar" content="d5327b3d4a74f224d32c338e83789ae877feb790"/>
            <!-- ... -->
            <deployment name="root.ear/core.war"/>
        </deployment-overlay>
    </deployment-overlays>

现在我像这样创建耳朵档案:

    root.ear
    |
    |-META-INF
    |        |-application.xml
    |
    |-core.war
    |-some.war

我想在root.ear中链接我的core.war覆盖。

我怎样才能做到这一点?

4

1 回答 1

0

在这种情况下应该可以工作:

<deployment-overlays>
    <deployment-overlay name="dep-lib">
        <!-- ... -->
        <content path="/WEB-INF/lib/org-springframework-spring-aop-3.2.10.RELEASE.jar" content="77d0b86238df32cb15e469eaa2f7f32c4893dc54"/>
        <content path="/WEB-INF/lib/org-springframework-spring-aspects-3.2.10.RELEASE.jar" content="d5327b3d4a74f224d32c338e83789ae877feb790"/>
        <!-- ... -->
        <deployment name="core.war"/>
    </deployment-overlay>
</deployment-overlays>
于 2018-04-02T12:53:10.417 回答