Skip to content
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

Javadoc html warning when running against JDK 10 #20

Open
jeremydouglass opened this issue Oct 10, 2018 · 0 comments
Open

Javadoc html warning when running against JDK 10 #20

jeremydouglass opened this issue Oct 10, 2018 · 0 comments

Comments

@jeremydouglass
Copy link
Contributor

jeremydouglass commented Oct 10, 2018

Processing library template projects are written against Java 1.8 -- when compiling against JDK 10 javadoc gives a warning about the html format not being specified.

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [...]
  [javadoc] Constructing Javadoc information...
  [javadoc] javadoc: warning - You have not specified the version of HTML to use.
  [javadoc] The default is currently HTML 4.01, but this will change to HTML5
  [javadoc] in a future release. To suppress this warning, please specify the
  [javadoc] version of HTML used in your documentation comments and to be
  [javadoc] generated by this doclet, using the -html4 or -html5 options.
  [javadoc] Standard Doclet version 10.0.1 

This happens when building on OS X 10.12.6 (default JDK 10). There is a related issue here that lists a fix (for gradle, not ant): gradle/gradle#5891

That fix:

  1. check the java version
  2. set the html flag if it the version > 9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant