Using eclipse to generate a CHM help document (plot)
Blog Category:
Javadoc generate CHM document Java Build API Help document API help document Generation tool
Eclipse Javadoc and Jd2chm creating CHM documents
As the picture here is more troublesome to post here, so picture see attachment
First, create a Java project two, import the need to generate the API documentation of the project source files three, copied to the SRC directory of the new project four, the import project depends on the corresponding jar package
It is important to note that the framework for working with the view layer also requires Jsp.api.jar and Servlet.api.jar
These two jar packages can be found in the Lib package in Tomcat
V. Project->generate Javadoc in the Eclipse toolbar click to enter
Javadoc Generation (form name)
Select Java Project
Set the user standard Doclet under this form to select the path required to generate the file
Then click Next
You can then fill in the document title
Then select all the jar packages
Then click Finish to complete the operation
The Help documents we need are shown in the folder we set up after the conversion (all HTML files)
Vi. converting an HTML file into a CHM document using the Jd2chm file
First you need to install the Htmlhelp.exe program
The Jd2chm.exe file is then placed in the folder directory corresponding to the build API
Run cmd to navigate to the folder directory corresponding to the build API
Enter Jd2chm carriage return
Enter CHM file name
Confirm input
After the carriage return, you will see a CHM document in the folder after completion, and the production will be successful.
- Eclipse_javadoc__to_chm.zip (612.1 KB)
- Download number of times: 208
- Jd2chm.zip (4.3 MB)
- Download number of times: 450
Using eclipse to generate a CHM help document (plot)