2 Replies Latest reply on Dec 19, 2008 5:11 PM by 843810

    JavaDoc with Wiki-style language


      i want to write the package.html and JavaDoc comments with a language similar to Wikis. I don't want to code HTML anymore...

      I seen the tool "wiki doclet", but it seems that it isn't working under Java5. I get this execption:
      [javadoc] Javadoc execution
      [javadoc] java.lang.NoClassDefFoundError: com/sun/tools/doclets/DocletAbortException
      [javadoc] at java.lang.Class.getDeclaredMethods0(Native Method)
      [javadoc] at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
      [javadoc] at java.lang.Class.getMethod0(Class.java:2642)
      [javadoc] at java.lang.Class.getMethod(Class.java:1579)
      [javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:246)
      [javadoc] at com.sun.tools.javadoc.DocletInvoker.optionLength(DocletInvoker.java:169)
      [javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:290)
      [javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:128)
      [javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:41)
      [javadoc] at com.sun.tools.javadoc.Main.main(Main.java:31)
      [javadoc] javadoc: error - fatal error
      [javadoc] 1 error 
      Any idea about what's wrong?

      Does someone know how i can avoid to write HTML for a package.html (an other doclet tool maybe)?


        • 1. Re: JavaDoc with Wiki-style language
          That would be very good, and long overdue.
          Ideally compatible, so maybe "/*+ " could start a wiki style.

          Want an easy way to indicate code (unlike normal wikis) eg. !mycode!. Seemed to be missing from wiki doclet.

          • 2. Re: JavaDoc with Wiki-style language
            Is there a doclet that can generate wiki pages for javadoc? A quick google search turned up WikidPad http://wikidpad.sourceforge.net/ but I was hoping for something a little more direct that can generate/update wiki pages simply by running javadoc on the source code.

            Edited by: SultanSaini on Dec 19, 2008 9:11 AM