Can anybody show me how to generate Javadoc from command line?
My project contains the package com.test
and I want to put the generated documentation in
For example if I had an application source code structure that looked like this:
Then I would do:
javadoc -d "C:\docs" -sourcepath "C:\b2b" -subpackages com
And that should create javadocs for source code of the com package, and all subpackages (recursively), found inside the "C:\b2b" directory.
Link to JavaDoc
I believe this will surely help you.
javadoc -d C:/javadoc/test com.mypackage