With pleasure :)

I open a fix issue https://issues.apache.org/jira/browse/OFBIZ-12437 , I
just wait some suggest before push it on the code base.

Nicolas

On 07/12/2021 19:04, Jeremy Olmstead wrote:
> This worked, thank you so much!
>
> On Tue, Dec 7, 2021 at 10:51 AM Nicolas Malin
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hello Jeremy,
>
>     We detect this error from our side, but not update on the project.
>
>     Try to apply this patch :
>
>     diff --git a/build.gradle b/build.gradle
>     index 1bc148e636..4c256c74d8 100644
>     --- a/build.gradle
>     +++ b/build.gradle
>     @@ -292,7 +292,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
>
>     This error appears because the resolution of some xsd failed
>
>     Nicolas
>
>     On 07/12/2021 16:59, Jeremy Olmstead wrote:
>>     I can't figure out what has changed, but I am now getting a
>>     compilation error during the task 'test' when I try to build. Does 
>> anybody
>>     have any insights as to what may have happened? The error I get is 
>> below. I
>>     am running a heavily customized 18.12 on a Windows 11 development 
>> machine.
>>     After this failure, if I copy the entire directory from a machine that
>>     works, it will still fail even though the OFBiz directory is identical to
>>     the working machine. Thank you for any help you can provide.
>>
>>     PS C:\ofbiz.18.12> .\gradlew
>>     Listening for transport dt_socket at address: 8091
>>>     Task :compileJava UP-TO-DATE
>>>     Task :compileGroovy UP-TO-DATE
>>>     Task :processResources UP-TO-DATE
>>>     Task :classes UP-TO-DATE
>>>     Task :jar UP-TO-DATE
>>>     Task :assemble UP-TO-DATE
>>>     Task :compileTestJava UP-TO-DATE
>>>     Task :compileTestGroovy UP-TO-DATE
>>>     Task :processTestResources UP-TO-DATE
>>>     Task :testClasses UP-TO-DATE
>>>     Task :test
>>     org.apache.ofbiz.entity.DelegatorUnitTests >
>>     delegatorCreationUsingConstructorFailsIfConfigurationIsMissing FAILED
>>         java.lang.AssertionError
>>
>>     org.apache.ofbiz.entity.DelegatorUnitTests >
>>     delegatorCreationUsingFactoryGetDelegator FAILED
>>         java.lang.AssertionError at DelegatorUnitTests.java:87
>>
>>     org.apache.ofbiz.entity.DelegatorUnitTests >
>>     delegatorCreationUsingFactoryGetInstance FAILED
>>         java.lang.AssertionError at DelegatorUnitTests.java:75
>>
>>     org.apache.ofbiz.entity.DelegatorUnitTests >
>>     delegatorCreationUsingConstructor FAILED
>>         org.apache.ofbiz.entity.GenericEntityConfException at
>>     DelegatorUnitTests.java:63
>>
>>     org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse FAILED
>>         java.lang.IllegalStateException at EntitySaxReaderTests.java:82
>>
>>     47 tests completed, 5 failed
>>
>>>     Task :test FAILED
>>     FAILURE: Build failed with an exception.
>>
>

Reply via email to