Using eclipse to generate a CHM help document (plot)

Source: Internet
Author: User

Using eclipse to generate a CHM help document (plot) Blog Category:
    • System Operate
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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.