[
https://issues.apache.org/jira/browse/WW-5402?focusedWorklogId=912378&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-912378
]
ASF GitHub Bot logged work on WW-5402:
--------------------------------------
Author: ASF GitHub Bot
Created on: 31/Mar/24 09:58
Start Date: 31/Mar/24 09:58
Worklog Time Spent: 10m
Work Description: sonarcloud[bot] commented on PR #896:
URL: https://github.com/apache/struts/pull/896#issuecomment-2028622518
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=896)
**Quality Gate passed**
Issues
 [1 New
issue](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=896&resolved=false&inNewCodePeriod=true)
 [0 Accepted
issues](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=896&metric=new_accepted_issues&view=list)
Measures
 [0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=896&resolved=false&inNewCodePeriod=true)
 [100.0% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=896&metric=new_coverage&view=list)
 [0.0% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=896&metric=new_duplicated_lines_density&view=list)
[See analysis details on
SonarCloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=896)
Issue Time Tracking
-------------------
Worklog Id: (was: 912378)
Time Spent: 40m (was: 0.5h)
> Auto loading the Tiles definition files from the classpath dependent JAR
> ------------------------------------------------------------------------
>
> Key: WW-5402
> URL: https://issues.apache.org/jira/browse/WW-5402
> Project: Struts 2
> Issue Type: New Feature
> Components: Plugin - Tiles
> Affects Versions: 6.3.0
> Reporter: Saravanan Sivaguru
> Priority: Major
> Fix For: 6.4.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Hi Team
> Currently we are able to load all the tiles definition files if it is
> available under the WEB-INF folder with file name convention tiles*.xml. But
> we are unable to load the tiles definition files which is available as a part
> of the dependent jar files /WEB-INF/lib folders even though the file name
> convention starts with tiles*.xml
> Need to enhance the feature to also look on the associated library files for
> the tiles definitions.
> (OR)
> We need to enhance the another existing approach of defining the tiles
> definition files with the below param,
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
> With this param currently we cannot load the tiles definition files unless we
> have defined the parameter value as complete actual file path
> Current acceptance - /WEB-INF/config/tiles/com.acnielsen.ftms.tiles.xml
> Proposed (Wildcard usage)- /WEB-INF/config/tiles/*.tiles.xml
> Additionally the current definition scope will only scan files within
> application again it is not scanning on the lib files available under the
> classpath
> Proposed - classpath*:/META-INF/*.tiles.xml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)