[
https://issues.apache.org/jira/browse/WW-3476?focusedWorklogId=1046842&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1046842
]
ASF GitHub Bot logged work on WW-3476:
--------------------------------------
Author: ASF GitHub Bot
Created on: 11/Oct/26 07:52
Start Date: 11/Oct/26 07:52
Worklog Time Spent: 10m
Work Description: lukaszlenart commented on code in PR #2005:
URL: https://github.com/apache/struts/pull/2005#discussion_r4240767560
##########
core/src/main/java/org/apache/struts2/config/providers/StrutsScopedConstantProvider.java:
##########
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.struts2.config;
Review Comment:
Done in c93980593. It now lives in `org.apache.struts2.config.providers`
next to `StrutsDefaultConfigurationProvider`, and its test moved with it.
`struts-beans.xml` points at the new FQCN, and
`ScopedConstantProviderWiringTest` resolves it through the Dispatcher path. The
`ScopedConstantProvider` interface stays in `org.apache.struts2.config`.
Issue Time Tracking
-------------------
Worklog Id: (was: 1046842)
Time Spent: 1h 40m (was: 1.5h)
> Allow overwriting of constants for each package
> -----------------------------------------------
>
> Key: WW-3476
> URL: https://issues.apache.org/jira/browse/WW-3476
> Project: Struts 2
> Issue Type: New Feature
> Components: XML Configuration
> Affects Versions: 2.2.1
> Reporter: Johannes Geppert
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 7.5.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Allow to overwriting of constants for each package.
> So I can specify as example for each package an other ActionMapper, Local or
> other location for the JSP Files.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)