eclipse Java Build Path中Order和Export选项卡有什么用
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2737486/
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
What is the use of Order And Export tab in Java Build Path
提问by minil
What is the use of Order And Exporttab in Java Build Path
Java Build Path中Order和Export选项卡有什么用
采纳答案by Michael Borgwardt
It allows you to do two things:
它允许你做两件事:
- Determine in which order projects and libraries appear in the classpath. If there are any duplicate classes, this determines which version is loaded
- Determine which projects and libraries will be exported and thus available in other projects that depend on this one.
- 确定项目和库在类路径中出现的顺序。如果有任何重复的类,这将确定加载哪个版本
- 确定哪些项目和库将被导出,从而在依赖于此的其他项目中可用。
回答by lunactic
Got some hint here for you:
在这里给你一些提示:
Order and Export.Order in which projects and libraries appear in the build path and the default runtime classpath; e.g., use classes from a workspace project before using the same classes from an archive library.
订购和出口。项目和库出现在构建路径和默认运行时类路径中的顺序;例如,在使用归档库中的相同类之前,先使用工作区项目中的类。
Found it on informit.com
在informit.com上找到它