-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
War overlay with io.freefair.war-overlay plugin is not served by gretty plugin #241
Comments
@zd-dalibor - thanks for the issue report. Which version of Gretty are you using? Also, can you provide a test project that reproduces the issue? That's gonna greatly help us figuring out what the issue might be. |
I am using Gretty 4.0.0. plugins {
id 'io.freefair.war' version "6.3.0"
}
dependencies {
implementation("info.magnolia:magnolia-empty-webapp:6.2.13@pom") {
exclude group: 'info.magnolia.lang'
transitive = true
}
}
overlays {
magnolia {
from "info.magnolia:magnolia-empty-webapp:6.2.13@war"
enableCompilation = false
excludes = ["**/.emptydir-placeholder", "WEB-INF/lib/*.jar"]
}
} When gradle builds war package it contains files form "info.magnolia:magnolia-empty-webapp:6.2.13@war". I know that gretty supports overlays, bat only from project moduls, not from dependencies like "info.magnolia:magnolia-empty-webapp:6.2.13@war". |
It's hard to tell what would help you the most for your particular setup without seeing what you tried / having a reproducer.
@zd-dalibor what have you tried? Can you imagine that one of the options is applicable? |
Hi,
I am using this war overlay plugin https://docs.freefair.io/gradle-plugins/6.2.0/reference/#_io_freefair_war_overlay in my project.
When I try to run my project with gretty content from war overlay is not deployed in servlet container (content from referenced war should be merged with project content and deployed in servlet container, I am getting only project content without content from referenced war).
When I build final war it contains content from the project and from referenced war.
I really do not want to deploy war with gretty because I am losing hot deployment and fast reload features in that way.
The text was updated successfully, but these errors were encountered: