Eclipse在没有Internet连接的情况下间歇性地挂在PC上 [英] Eclipse hangs intermittently on PC without internet connection
问题描述
自Eclipse 3.2起,我就遇到了这个问题,但是在较新的版本中,这个问题更经常发生.
I've encountered this problem since Eclipse 3.2, but in the newer versions the problem occurs more often.
每当我访问某些配置菜单项时,或者当eclipse解析包含指向某些Internet URL的xmlns变量的XML文件时,eclipse IDE都将无响应几秒钟(最多一分钟?). (例如xmlns:rich = http://richfaces.org/rich )
The eclipse IDE will be unresponsive for a few seconds (up to a minute?) whenever I access certain configuration menu items or when eclipse parses an XML file which contains xmlns variables pointing to some internet URL. (eg; xmlns:rich=http://richfaces.org/rich" )
有人知道如何将Eclipse设置为在离线"模式下运行吗?还是要在本地缓存互联网项目?
Does anyone know how to set Eclipse to operate in "offline" mode? Or to cache the internet item locally?
推荐答案
正确的方法是指定您自己的引用模式文件的本地副本.在首选项"的XML→XML目录下,选择用户指定的条目,然后单击添加.然后,您可以在此处添加自己的条目,该条目可以引用本地文件,甚至可以引用工作空间中的文件.
The correct way is to specify your own local copies of the referenced schema files. Under the Preferences, XML → XML Catalog, select User Specified Entries and click Add. Then you can add your own entry there, which could refer to a local file or even a file in your workspace.
这篇关于Eclipse在没有Internet连接的情况下间歇性地挂在PC上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!