Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8107931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:56:01+00:00 2026-06-06T00:56:01+00:00

I am running my next gradle-javadoc-doclet task: apply plugin: com.myproject.build.gradle.web.WebPlugin apply plugin: ‘java’ apply

  • 0

I am running my next gradle-javadoc-doclet task:

apply plugin: com.myproject.build.gradle.web.WebPlugin
apply plugin: 'java'
apply from: 'dependencies.gradle'

group = 'com.myproject'

sourceCompatibility = 1.6
targetCompatibility = 1.6

jar.enabled = true

configurations {
    client
}

task myJavadocs(type: Javadoc) {

    source = sourceSets.main.allJava
    classpath = configurations.compile
    destinationDir = file("./doc/")
  }


task list(dependsOn: configurations.compile) << {
    println "classpath = ${configurations.compile.collect {File file -> file.name}}"
}


task myDoclet(type: Javadoc, dependsOn: myJavadocs) {
    source = sourceSets.main.allJava
    options.doclet = 'Doclet2'
    classpath = configurations.compile
    //options.docletpath = configurations.compile.asType(List)
    List<File> pathList = new ArrayList<File>();
    pathList.add(file('C:\\myproject\\build\\classes\\main\\'))
    options.docletpath = pathList




}

(myJavadocs is just a task that generates the basic javadoc)
I am running it in the console like that:

C:\myproject>gradle myDoclet

And when I do that, I receive the next error:

javadoc: error - invalid flag: -doctitle

Looks like that “doctitle” flag is one of the options in the javadoc specification ( Javadoc 1.3 Options ), but it was not in early javadoc versions (it was a “title” flag). I am using the tools.jar (where hte javadoc is) from my JDK (1.6).

Does anyone know what I am doing wrong?

Thank you very much for your time!

FOLLOWUP –

Looks like that “doctitle” tag is on the Standard Doclet (I am running my own doclet), and it is being added by gradle (and my doclet does not recognize it). Does anyone know how can I get rid of that tag, or if there is any way to “include” those tags to my doclet?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:56:02+00:00Added an answer on June 6, 2026 at 12:56 am

    Sorry, javadoc doclet error, not gradle error. If interested, please follow the next link:

    Javadoc does not recognize doctitle option/flag

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have next SVN repositories structure running Apache 2.2 under Windows Server 2008: http://example.com/svn/
When running next code I get a error Exception in thread main java.lang.NullPointerException I
I running a depreciation database. I need to run depreciation for the next month
I have the next problem. I have several PHP systems running in different Windows
So basically i have 2 treeviews running next to each other, one shows a
data.Select(object=> string.Format(<a>{0}</a>, object.LinkText)) .Select(html => string.Format(<div>{0}</div>, html)) .Aggregate((running, next) => running + next); I
Our next product has grown too large to link on a machine running 32-bit
When a slideshow running in PowerPoint I want to control the movement (Next and
I discovered that when I put the Nexus S (running Android 2.3.6) next to
My undestanding is jQuery doesn't move to the next function until the running one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.