Comments (11)
Hmmm, builds for me but with a complaint.
PR now with an attempted fix (which also gets rid of the complaint).
from qupath-extension-template.
Very odd, even changing the javadocs the issue persists for me on a cloned copy, though using the IDE setup steps works fine.
from qupath-extension-template.
If it's only my machine then I'll dig into it properly tomorrow
from qupath-extension-template.
Have you checked the generated javadoc options file for clues?
I've seen small javadoc errors kill a build, but the default is to kindly ask the javadoc to not be so petty: https://github.com/qupath/qupath-extension-template/blob/main/build.gradle#L99
from qupath-extension-template.
I can't spot anything obvious, all of the listed directories exist and the other options all seem sensible too
from qupath-extension-template.
Does it build successfully if you comment on the line withJavadocJar()
?
(I guess you've also tried gradlew clean
)
from qupath-extension-template.
Hadn't tried clean as I was working from a fresh clone, but it doesn't change anything. Removing withJavadocJar
does allow me to build, yeah
from qupath-extension-template.
Ah! It's trying to run /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc
but
ls: cannot access '/usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc': No such file or directory
Just a jdk config error by me
from qupath-extension-template.
Hmmm, not an entirely satisfying solution though... only other thing i can think of is that you've got an unhappy JDK. Throwing
println System.properties['java.home']
into build.gradle
should print whatever it's using. The easiest way to change is often to create a gradle.properties
file and include (at least)
org.gradle.java.home=/path/to/jdk/
You can technically run Gradle with one JDK but build with another, thanks to toolchains - so conceivably the toolchain is hunting for some unexpected JDK to use.
I generally use the builds from Eclipse Temurin™ and that's also what is used with GitHub Actions here.
from qupath-extension-template.
It's poor exception handling from gradle for sure, the issue is I have openjdk-11-jdk
installed (and maybe some other packages) but not openjdk11-doc
.
To be safe, possibly best to install openjdk[version]-*
from qupath-extension-template.
Wow, I'm surprised those are two different things :/
from qupath-extension-template.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qupath-extension-template.