日期:2014-05-16  浏览次数:20504 次

Eclipse安装完findbugs插件后,SVN插件不可用问题解决
安装findbugs插件后,SVN插件就消失了。后来从网上查到解决方案:eclipse/configuration目录下的org.eclipse.update目录删除,重启eclipse即可解决。
问题主要是platform.xml文件,eclipse解析出现问题。
删除前:
<site enabled="true" updateable="true" policy="USER-EXCLUDE" url="file:/D:/Program Files/eclipse/links/site-1.8.5/">
	</site>
	<site enabled="true" updateable="true" policy="USER-EXCLUDE" url="platform:/base/">
		<feature id="edu.umd.cs.findbugs.plugin.eclipse" url="features/edu.umd.cs.findbugs.plugin.eclipse_2.0.2.20121210/" version="2.0.2.20121210">
		</feature>
	</site>


重新生成后:
<site enabled="true" updateable="true" policy="USER-EXCLUDE" url="file:/D:/Program Files/eclipse/links/site-1.8.5/">
		<feature id="org.tigris.subversion.subclipse" plugin-identifier="org.tigris.subversion.subclipse.core" url="features/org.tigris.subversion.subclipse_1.8.5/" version="1.8.5">
		</feature>
		<feature id="org.tigris.subversion.clientadapter.javahl.feature" plugin-identifier="org.tigris.subversion.clientadapter.javahl" url="features/org.tigris.subversion.clientadapter.javahl.feature_1.7.3/" version="1.7.3">
		</feature>
		<feature id="org.tigris.subversion.clientadapter.feature" plugin-identifier="org.tigris.subversion.clientadapter" url="features/org.tigris.subversion.clientadapter.feature_1.8.1/" version="1.8.1">
		</feature>
		<feature id="org.tigris.subversion.subclipse.graph.feature" plugin-identifier="org.tigris.subversion.subclipse.graph" url="features/org.tigris.subversion.subclipse.graph.feature_1.1.1/" version="1.1.1">
		</feature>
		<feature id="org.tigris.subversion.subclipse.mylyn" url="features/org.tigris.subversion.subclipse.mylyn_3.0.0/" version="3.0.0">
		</feature>
		<feature id="com.collabnet.subversion.merge.feature" plugin-identifier="com.collabnet.subversion.merge" url="features/com.collabnet.subversion.merge.feature_3.0.7/" version="3.0.7">
		</feature>
	</site>
	<site enabled="true" updateable="true" policy="USER-EXCLUDE" url="platform:/base/">
		<feature id="edu.umd.cs.findbugs.plugin.eclipse" url="features/edu.umd.cs.findbugs.plugin.eclipse_2.0.2.20121210/" version="2.0.2.20121210">
		</feature>
	</site>