-
Notifications
You must be signed in to change notification settings - Fork 807
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
[WW-5233] Include Apache Tiles code base in the Tiles plugin #608
Conversation
SonarCloud Quality Gate failed. 2 Bugs |
34f30be
to
6fc1b9c
Compare
SonarCloud Quality Gate failed. 2 Bugs |
6f0df80
to
a970d24
Compare
...tiles/src/main/java/org/apache/tiles/core/definition/digester/DigesterDefinitionsReader.java
Fixed
Show fixed
Hide fixed
4f2a13a
to
93519c9
Compare
WW-5233 Copies a based set of Tiles classes used by Struts WW-5233 Copies Portlet related Tiles code base WW-5233 Copies Tiles API related tests WW-5233 Copies Tiles Core related tests WW-5233 Copies Tiles EL related tests WW-5233 Copies Tiles OGNL related tests WW-5233 Copies Tiles Template related tests WW-5233 Copies Tiles Servlet related tests WW-5233 Upgrades Easymock to version 4.3 to support Java 17 WW-5233 Copies Tiles Request related tests WW-5233 Copies Tiles Autotag related tests WW-5233 Drops useless @Version tag and addresses some potential RegEx vulnerabilities WW-5233 Addresses bugs reported by Sonar WW-5233 Addresses a few code smells WW-5233 Copies Tiles Portal related tests WW-5233 Fixes broken test WW-5233 Adds Tiles DTD definition Add missing classes and tld definition. Add generating of Autotags and tests. Make plugin standalone with all generated resources. Make plugin standalone with all generated resources for velocity. Make plugin standalone with all generated resources for velocity. WW-5233 Marks Velocity dependencies as optional
SonarCloud Quality Gate failed. 2 Bugs 62.6% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
@gregh3269 @JCgH4164838Gh792C124B5 @kusalk any objections to merge this and release a new version? |
We are not using Tiles or these plugins so no objections here :) |
+1. But then i am standard wrt tiles. |
Is there some instructions how to migrate to 6.3.0 when using Tiles? After upgrading from 6.2.0 to 6.3.0, a web app (which worked fine on 6.2.0) fails to start due to an error:
This comes from having this in web.xml:
The pom.xml has e.g.:
and
Removing this last dependency (as the 6.3.0 release notes instruct to do?) does not help. |
@ HittiGubbi what is org.apache.tiles.extras.complete.CompleteAutoloadTilesListener used for? Would use
|
Yes that listener is from the old deprecated plugin - see here for updated instructions |
Thank you. I tried this but now get the error:
|
Looks like you're using a different version of |
..By using the org.apache.tiles.extras.complete.CompleteAutoloadTilesListener you get Wild Cards, EL, OGNL, MVEL support in your tiles.xml Can you share your tiles.xml please? |
Can you try dropping the struts2-tiles-plugin and replace with tiles extras as it does not look like you are using the struts2 tiles plugin ie StrutsTilesListener.
I tested this and it will start, but it brings a very old velocity 1.6, which won't work for me. In the struts2-tiles-plugin <6.2.0 it had only a few classes, possibly none were being used, and was used to bring the tiles jars needed by your app. |
Thank you all for the advice. The web app seems to be working now after changing to use org.apache.struts2.tiles.StrutsTilesListener and removing transitively included package dependency declarations from pom.xml :). |
Fixes WW-5233