How do I get Eclipse to show the javadoc from my classes without including sources in the jar

前端 未结 5 1849
北恋
北恋 2021-01-07 14:04

I\'m building jars where I want to package them without sources but I would like the javadoc to come up for developers in eclipse.

5条回答
  •  离开以前
    2021-01-07 14:32

    The users of your JAR can associate a Javadoc location (URL, file or path inside an archive) to it in the Java Build Path properties of the Java project, where the JAR is used.
    I'm not sure how well this would work with the Javadoc in the same JAR as the binaries (never seen that before), but in theory it should work.

提交回复
热议问题