Javadoc not generated during jsii-pacmak run #3466
Unanswered
stefanfreitag
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
❓ Setting of JAVA_HOME required for generating Java packages?
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)General Information
The Question
I have setup a project generating Javascript, Python, DotNet, and Java packages. When trying to publish the Java packages I was informed by the remote servers that the javadoc files (jar, md5, sha1) were missing.
The project folder
dist/java/io/github/stefanfreitag/cdkBudgetNotifier/0.2.0
containedSo, no javadoc files, but also no error reported by
jsii-pacmak
.By changing the behavior of
jsii-pacmak
[1] during the java target execution I was able to get some useful output:and after setting the
JAVA_HOME
environment variablejsii-pacmak
generated the javadoc files.As the error message about
JAVA_HOME
is silenced, would it make sense to mention it explicitly in the documentation?[1] In
targets/java.ts
I changed afailOnError
setting fromfalse
totrue
.Beta Was this translation helpful? Give feedback.
All reactions