You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2021/12/12 14:40:49 UTC

[ofbiz-framework] branch release17.12 updated: Fixed: All local XML schema files are now present in classpath, Backport form trunk (OFBIZ-11132) (OFBIZ-12437)

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

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


The following commit(s) were added to refs/heads/release17.12 by this push:
     new bdf94f3  Fixed: All local XML schema files are now present in classpath, Backport form trunk (OFBIZ-11132) (OFBIZ-12437)
bdf94f3 is described below

commit bdf94f31a196836825c38909e6fc2221baf2ca4b
Author: Mathieu Lirzin <mt...@apache.org>
AuthorDate: Sun Jun 30 13:06:53 2019 +0000

    Fixed: All local XML schema files are now present in classpath, Backport form trunk
    (OFBIZ-11132) (OFBIZ-12437)
    
    Previously there was some warnings about missing “.xsd” files that
    ‘UtilXml#resolveEntity’ failed to find in classpath.  This has been
    fixed by declaring all “dtd” directories inside components as resources.
    
    git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862346 13f79535-47bb-0310-9956-ffa450edef68
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 0597876..51910a9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -268,7 +268,7 @@ sourceSets {
         resources {
             srcDirs = getDirectoryInActiveComponentsIfExists('src/main/java')
             srcDirs += getDirectoryInActiveComponentsIfExists('config')
-            srcDirs += "${rootDir}/framework/base/dtd"
+            srcDirs += getDirectoryInActiveComponentsIfExists('dtd')
             exclude excludedJavaSources
             exclude excludedConfigFiles
             // Below are necessary for unit tests run by Gradle and integration tests