Eclipse / Eclipse如何存储用户库? [英] Where/How does Eclipse store user libraries?
问题描述
Eclipse不会复制任何用户库的内容,它只是一个具有机器特定的绝对路径的容器。用户库定义存储在工作空间中;具体来说,在 .metadata / .plugins / org.eclipse.core.runtime / .settings / org.eclipse.jdt.core.prefs
。
用户库背后的想法是,在项目之外存在的JAR集合之外是一个抽象的;每个工作区都必须声明自己的内容,因为它们在Eclipse项目外部。
I am working on a Java Project in Eclipse. I created a user library called "Spring" and added all the Spring jars to it. My question is, where does Eclipse store this library? Does it copy all the jars into a new directory somewhere on the disk? Or does it maintain information in some configuration file as to which jars belong to the user library?
Eclipse does not copy any of the contents of a User Library, it is merely a container with machine-specific absolute paths. The User Library definitions are stored in the workspace; specifically, in .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs
.
The idea behind a User Library is that it is an abstraction above a collection of JARs that exist outside the project(s); each workspace must declare the contents for itself, since they are external to Eclipse projects.
这篇关于Eclipse / Eclipse如何存储用户库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!