Closed grtjn closed 1 year ago
Note: if I go back to 2.5.0 it works just fine.
@grtjn I am using https://github.com/marklogic/ml-gradle/tree/master/examples/corb2-project and I cannot reproduce the issue. 2.5.1 and 2.5.2 still fail due to the reason Mads described. But I verified that 2.5.3 and 2.5.4 are both downloaded successfully and used correctly by CorbTask.
If I clear out all the marklogic-corb files in my Gradle cache and then try again (specifically, I've run mlDeploy
and then I'm testing with ./gradlew corbAdhoc
), I see this logging:
Downloading https://repo.maven.apache.org/maven2/com/marklogic/marklogic-corb/2.5.4/marklogic-corb-2.5.4.jar to /Users/rrudin/.gradle/.tmp/gradle_download1294385243730288117bin
I am thinking the solution may be to delete all the marklogic-corb files in your cache - for me, that's at /Users/rrudin/.gradle/caches/modules-2/files-2.1/com.marklogic/marklogic-corb
.
I'm going to close because I don't see any action for this, but please reply back if the above doesn't work - if I can find something that can be done, I'll reopen.
Reopening #597. I am still seeing this issue.
I upgraded to DHF 5.8.1, which I think uses ml-gradle 4.3.6, Gradle (wrapper) 7.1.1. I have the following lines in my build.gradle:
Running a CorbTask reveals the following classpath and class invocation:
Not seeing any reference to a corb jar. Anyone else observing this as well?