How to associate the jar package with the source code doc. jar src. jar, doc. jarsrc. jar in Eclipse

Source: Internet
Author: User

How to associate the jar package with the source code doc. jar src. jar, doc. jarsrc. jar in Eclipse


Porter

Example of Gson



1. Copy the Three jar packages to the libs directory.

2. Create two folders src and docs under the libs directory.


3. Create gson-2.2.4.jar.properties under libs directory


Src = src/gson-2.2.4-sources.jar
Doc = docs/gson-2.2.4-javadoc.jar



Source Address:

How to associate source code with the jar package under the libs directory

Previously, we could associate the source code for the jar package under the lib directory, but it does not seem to work now.

The following is an article about how to solve this problem:

How to attach javadoc or sources to jars in libs folder?

The following is a discussion on this issue at the google Forum:

Https://code.google.com/p/android/issues/detail? Id = 28658

In short, this problem can be solved.

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.