Create Javadoc with INLTELLJ, create CHM with Jd2chm

Source: Internet
Author: User

Now some frameworks do not take Javadoc to build, and really use the CHM is the most convenient, so write a log record

Now, I'll take Struts2 's source to raise a chestnut.

1. First step: Create an empty Java project, import the framework source code

2. Step two: Generate Javadoc Web page

Menu Location: Tools->gerenate JavaDoc

It is particularly important to note that adding a parameter -encoding utf-8-charset utf-8 Prevent garbled

At this point, the Javadoc on the Web page generates

3. Step three: Create a CHM file

Copy the Jd2chm.exe program to your Javadoc directory, which is the output directory that you specified when you IntelliJ generated Javadoc.

Then open the CMD CD to the Directory

D:\baiduyundownload\struts-2.3.20\javadoc>jd2chm

And then you lose, like project's name input, enter, and you start to generate the CHM file.

Finally, you get the CHM file you want.

Create Javadoc with INLTELLJ, create CHM with Jd2chm

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.