• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javadoc generation using custom doclet

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I configured a custom doclet for generating Java documentation through Eclipse.
Where does the documentation gets generated when I use Custom Doclet. I don't see any destination location for this.

Please help. I am getting the console output like this

"
Building tree for all the packages and classes...
Generating \com\ford\icesim\core\part\Example1.html...
Generating \com\ford\icesim\core\part\Part.html...
Generating \com\ford\icesim\core\annotations\IceParameter.html...
Generating \com\ford\icesim\core\annotations\IcePart.html...
Generating \com\ford\icesim\core\parameter\ScalarParameter.html...
Generating \com\ford\icesim\core\units\PhysicalQuantity.html...
Generating \overview-frame.html...
Generating \com\ford\icesim\core\annotations\package-frame.html...
Generating \com\ford\icesim\core\annotations\package-summary.html...
Generating \com\ford\icesim\core\annotations\package-tree.html...
=======

"

Thanks,
Viswanath T
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

That question looks too difficult for this forum, so I shall move it.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe search for the file "PhysicalQuantity.html" on your hard disk
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting. You can specify the output path when using the standard doclet system, but it's not provided as an option for custom classes.

I think that the destination directory is probably going to be tied to the current directory as seen by your custom class. I would expect, actually, that it would be relative to the current project.

Adding this line to the startup code for your custom class and see what you get:



I put quotes around the path just in case there might be spaces that would otherwise go undetected.

Note that Eclipse does not automatically refresh the project when you run code that makes "offline" changes to the project's files and directories, so do a manual refresh after javadoc generation just to be sure you see the results.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic