Eclipse:如何删除添加到 Jar 中的附加源

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8443206/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:25:54  来源:igfitidea点击:

Eclipse : How to remove the attached Source which was added to a Jar

eclipse

提问by Pawan

I am using Eclipse IDE (Helios Version).
As part of the build path, I have a jar file for this Application, I have attached the source code for this jar file using Attach Source Option.

我正在使用 Eclipse IDE(Helios 版本)。
作为构建路径的一部分,我有这个应用程序的 jar 文件,我已经使用附加源选项附加了这个 jar 文件的源代码。

Please tell me how can I remove this attached source for the jar file?

请告诉我如何删除 jar 文件的附加源?

回答by Thilo

Open the .classpath file and delete the source attachment part.

打开 .classpath 文件并删除源附件部分。

Or in the Build Path control panel, find the jar file and remove the source attachment (it is one of the detailed options there).

或者在 Build Path 控制面板中,找到 jar 文件并删除源附件(它是那里的详细选项之一)。