-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate Javadoc (API) info #695
Comments
One thing that we often suffer with Javadoc for Core Java APIs is offline access. Right now, it is only available for download from the Oracle site (OpenJDK does not offer). Two things that AOJDK could do:
|
What's the benefit of having a docker image instead of the well known and used approach of offering a javadoc download? |
So I could simply do this: Instead of this:
But sure, solving the delivery of Javadoc download files ZIP from AdoptOpenJDK would be a great step already. |
Hello, the preceding person (brunoborges) said 5 months ago, that the javadoc from AdoptOpenJDK (in form of a downloadable file) is not available on internet. Is that still impossible today (5 months later) ? Or does another way exist, to get this javadoc file ? Eventually, by generating it by myself ? Thank you in advance for the answer(s). |
The AdoptOpenJDK builds appear to run the build target 'make images'. This target does not generate the javadoc. |
Thank you for your explanation ! So now, I shall do following :
Best thanks. |
Hello everyone, I am seeking for your help ! (01.) Clone the repository given above (on my local computer). (02.) Launch following commands (from ubuntu terminal on my local computer) :
(03.) Get following log-messages (in the ubuntu terminal) :
(04.) My question :
I am thankful to all of you for your help. |
Just a small correction : I was meaning "JDK11_BOOT_DIR" (I wrote by mistake "JDK11_ROOT_DIR". This is a spelling error !). I welcome any help to solve this problem. |
I don't think sudo inherits the environment variables - e.g. see https://www.petefreitag.com/item/877.cfm. |
Being discussed at TSC |
Hi everyone, This time, I proceeded as follows :
This was necessary, in order to prevent that the "makejdk-any-platform.sh"-script gets interrupted with an error-message like "access permission refused on file 'xxxx'". (02.) Launch following 2 commands (from ubuntu terminal) :
(03.) Get the logs (from the ubuntu terminal) :
(04.) Conclusion : I wish, this posted message could help those who try to build the open-jdk. |
@chat-roux . This issue was raised for the publishing of javadoc at AdoptOpenJDK and is probably not being looked at by the people with the best knowledge to help you with your more general build issues. I suggest you create a separate issue in openjdk-build for this gpg issue. |
@lumpfish. Thank you |
Hi @karianna, I don't know what is the state of this issue right now but I would be happy to help generate a Javadoc for Adoptium that will be under a free license. Any way I could start contributing on that front? |
Yes, you can start by trying to create a build locally (or in a docker container) - the README should give you the first steps on how to do that. Once you have a local build working, ping me back here and I can guide you on what to change to try to get Javadocs out. |
Awesome! I will keep you in touch :) |
Hey @karianna! I have a local build working :) (Sorry for the delay, busy busy weeks at work) Firstly, I am very impressed by the effort put around the shell scripts and docker image generation to build temurin, really 👏 . I used
I totally can open some Pull Request related to those items if you think they are relevant And happy to follow up on the Javadoc building when you are available! |
@ddadon10 Thanks for digging in!
Thoughts and pull request most welcome :-) |
I can write PRs for the each point once I have your green light 🚥 |
Thanks so much for helping out! |
Hey @karianna ! Thank you for reviewing and merging the dockerfile generator PR! What would be the next step to generate the Javadoc under a free license? :) |
I'd probably start by looking at configureBuild.sh and friends and see how we produce other artifacts like test images, static libs and so forth. I suspect you can follow that pattern to add a javadoc bundle as well. |
Thanks for the hint! I need that for a side-project so I am not on it all the time, will keep you in touch :) |
Hey @karianna! I started to look on how to do that and I am a bit concerned about the discussion in AdoptOpenJDK/TSC#124 Any details on that issue related to the Hotspot JDK? On one hand I don't want you to ask for legal advice given that I only need for a side project but on the other one I don't want to work on something and see us stuck at the end for that kind of reason. The easiest solution would be to have the OpenJDK project directly removing this footer from the open-source project but I have no idea where to start on that. |
That's a good point. This will need to go to the new TSC (The Eclipse Adoptium Project Management Committee). I'll raise it with them to start with. |
Hello! |
Besides the binary build, Javadoc for the corresponding release should also be produced.
After generation it could be:
The text was updated successfully, but these errors were encountered: