Skip to content
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

Issue #11572 add check for isDeployable when hot deploy file changes #11576

Merged

Conversation

janbartel
Copy link
Contributor

Fixes #11572

gregw
gregw previously approved these changes Mar 27, 2024
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM... but if you are updating, please fix the comment in isDeployable

@Override
protected void pathChanged(Path path) throws Exception
{
if (isDeployable(path))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the comment inside isDeployable is wrong. It says ".war" when it should say ".xml"

@janbartel janbartel merged commit 92cb3cb into jetty-12.0.x Mar 27, 2024
2 of 4 checks passed
@janbartel janbartel deleted the jetty-12.0.x-11572-check-isDeployable-on-file-change branch March 27, 2024 08:59
sbordet pushed a commit that referenced this pull request Mar 28, 2024
…11576)

* Issue #11572 add check for isDeployable when hot deploy file changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side
Projects
No open projects
Status: ✅ Done
2 participants