-
Notifications
You must be signed in to change notification settings - Fork 2
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
JDK21: error: invalid flag: -basePackage #5
Comments
This parameter is not being used anywhere. I don't know what it is expected to do since the docs don't make it clear. |
It is used to trim the package names in the generated output, e.g. to translate In my projects, the Doclet call looks like: tasks.register('xmldoc', Javadoc) {
source = sourceSets.main.allJava
// beware: Gradle deletes this folder automatically and there is no switch-off
destinationDir = reporting.file("xmlDoclet")
options.docletpath = configurations.xmlDoclet.files as List
options.doclet = "com.github.markusbernhardt.xmldoclet.XmlDoclet"
title = "API $version"
options.addBooleanOption("rst", true)
options.addBooleanOption("withFloatingToc", Boolean.parseBoolean(System.getenv().getOrDefault("FLOATING_TOC", "true")))
options.addStringOption("basePackage", "net.sf.jsqlparser")
options.addStringOption("filename", outFile.getName())
} Here is a good illustration: https://manticore-projects.com/XMLDoclet/javadoc.html |
I see. Thanks.
Sure. I’ll change it latter today. |
Everything I have tested so far is working just fine. Lets see what the real world will say after release. |
The text was updated successfully, but these errors were encountered: