Eclipse 工作区插件文件夹中的巨大 *.CFS 文件是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4199743/
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 are the gigantic *.CFS files all about in Eclipse workspace plugin folder?
提问by stanlick
I started to notice my WD drive getting full and ran a size:gigantic file search on it. It has turned up several files here:
我开始注意到我的 WD 驱动器已满,并在其上运行了一个大小:巨大的文件搜索。它在这里找到了几个文件:
F:\SCOTT-SHARED-DESKTOP\My Documents\JPA_SPRING_STRUTS\.metadata\.plugins\org.maven.ide.eclipse\nexus\d9d714e11cb097b3ffcec91cccc65d3e_58.cfs
F:\SCOTT-SHARED-DESKTOP\My Documents\JPA_SPRING_STRUTS\.metadata\.plugins\org.maven.ide.eclipse\nexus\d9d714e11cb097b3ffcec91cccc65d3e_58.cfs
that exceed 189,992 KB (189 MB)!
超过 189,992 KB (189 MB)!
Anyone know about these rascals?
有人知道这些流氓吗?
采纳答案by Persimmonium
As stacker points out, each of these seem to be a Lucene segment file, with Compound File format. If you want to see what is inside, you can open them with Luke.
正如 stacker 指出的那样,这些文件中的每一个似乎都是一个 Lucene 段文件,具有复合文件格式。如果你想看看里面有什么,你可以用卢克打开它们。
回答by Doc Davluz
Indeed, it's Nexus indexes. You can disable partially or totally Nexus indexes retrieval by right clicking on repositories in the Maven repositories view and checking/uncheking Disable Index Details/Enable Minimum Index/Full Index Enabled (options with M2Eclipse 0.12).
事实上,它是 Nexus 索引。您可以通过右键单击 Maven 存储库视图中的存储库并选中/取消选中禁用索引详细信息/启用最小索引/启用完整索引(M2Eclipse 0.12 的选项)来部分或完全禁用 Nexus 索引检索。
Hereunder a screenshot:
下面是截图:
回答by gliptak
You might also consider unchecking the checkbox (under Window
menu, Preferences
, Maven
):
您也可以考虑取消选中复选框(在Window
菜单下,Preferences
, Maven
):
回答by teja
Every repository that m2eclipse uses is indexed by the Nexus Indexer. If m2eclipse is using a remote repository, it will download a Nexus index from the remote repository. If m2eclipse is managing a local repository (local or workspace) it will use the open source Nexus indexer to create and maintain a local index. This index is what allows you to quickly search for and locate dependencies by artifactId, groupId, version, or classname.
m2eclipse 使用的每个存储库都由 Nexus 索引器编制索引。如果 m2eclipse 使用远程存储库,它将从远程存储库下载 Nexus 索引。如果 m2eclipse 正在管理本地存储库(本地或工作区),它将使用开源 Nexus 索引器来创建和维护本地索引。该索引允许您通过 artifactId、groupId、version 或 classname 快速搜索和定位依赖项。
http://books.sonatype.com/m2eclipse-book/reference/repository-sect-repo-view.html#d5e1169
http://books.sonatype.com/m2eclipse-book/reference/repository-sect-repo-view.html#d5e1169