You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@struts.apache.org by "lukaszlenart (via GitHub)" <gi...@apache.org> on 2026/04/05 11:34:43 UTC
[PR] feat(annotator): warn when Web facet is missing for Struts modules [struts-intellij-plugin]
lukaszlenart opened a new pull request, #67:
URL: https://github.com/apache/struts-intellij-plugin/pull/67
## Summary
Follow-up to #66 (DTD validation). Adds early feedback when a Struts-configured module lacks a Web facet, which prevents JSP result path resolution and Diagram navigation from working.
- **`WebFacetChecker`** – shared predicate reused by the annotator and framework initializer
- **`StrutsWebFacetCheckingAnnotator`** – file-level warning on `struts.xml` files with a quick action to open module facet settings
- **`StrutsFrameworkInitializer`** – one-time notification per affected module on project open
- **`Struts2ProjectDescriptorBuilder.withoutWebFacet()`** – test-infrastructure support for omitting `WebFacet` in light tests
- New tests: `StrutsWebFacetCheckingAnnotatorTest`, `WebFacetCheckerTest`
## Test plan
- [x] `./gradlew test -x rat` passes (full suite)
- [ ] Manual: open a Struts project without Web facet → file-level warning visible
- [ ] Manual: click quick action → module settings open
- [ ] Manual: add Web facet → warning disappears on re-analysis
- [ ] Manual: on project open, notification appears in the Notifications panel
Made with [Cursor](https://cursor.com)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(annotator): warn when Web facet is missing for Struts modules [struts-intellij-plugin]
Posted by "lukaszlenart (via GitHub)" <gi...@apache.org>.
lukaszlenart merged PR #67:
URL: https://github.com/apache/struts-intellij-plugin/pull/67
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(annotator): warn when Web facet is missing for Struts modules [struts-intellij-plugin]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #67:
URL: https://github.com/apache/struts-intellij-plugin/pull/67#issuecomment-4188750939
<!-- plugin-artifact-comment -->
🔌 **Plugin artifact ready for testing!**
Download from [Actions artifacts](https://github.com/apache/struts-intellij-plugin/actions/runs/24000668183#artifacts)
Artifact: `struts2-261.18970.1`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org