This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 88071b0eaf1d14db93c7b29d2a70bfb81d35ef38
Author: Michael Brohl <michael.br...@ecomify.de>
AuthorDate: Mon Jul 31 17:16:07 2023 +0200

    Fixed: Corrects path reference for groovy files (OFBIZ-12813)
---
 .../java/org/apache/ofbiz/webtools/labelmanager/LabelReferences.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelReferences.java
 
b/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelReferences.java
index a89963d321..53d5167c49 100644
--- 
a/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelReferences.java
+++ 
b/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelReferences.java
@@ -203,7 +203,7 @@ public class LabelReferences {
     private void getLabelsFromGroovyFiles() throws IOException {
         for (Path rootFolder : this.rootFolders) {
             List<File> groovyFiles =
-                    FileUtil.findFiles("groovy", 
rootFolder.resolve("groovyScripts").toString(), null, null);
+                    FileUtil.findFiles("groovy", 
rootFolder.resolve("src/main/groovy").toString(), null, null);
             for (File file : groovyFiles) {
                 String inFile = FileUtil.readString("UTF-8", file);
                 findUiLabelMapInPattern(inFile, UILABEL_MAP, file.getPath());

Reply via email to