Author: mthl
Date: Sun Jun 30 13:06:53 2019
New Revision: 1862346
URL:
http://svn.apache.org/viewvc?rev=1862346&view=revLog:
Fixed: All local XML schema files are now present in classpath
(OFBIZ-11132)
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.
Modified:
ofbiz/ofbiz-framework/trunk/build.gradle
Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1862346&r1=1862345&r2=1862346&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Sun Jun 30 13:06:53 2019
@@ -281,7 +281,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