最近MyEclipse8.5不知怎么了,一打开工作空间不让选择,直接默认为 C:\Documents and Settings\Administrator\Workspaces\MyEclipse 8.5,因为用着不方便,所以通过实践找到了修改默认空间的方法。
若希望在启动MyEclipse时就进入我们所设置的工作空间,有一种设置办法是通过修改如下配置文件来解决该问题:找到MyEclipse 8.5的安装位置,找到config.ini文件。
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Tue Mar 05 15:58:06 CST 2013
com.genuitec.pulse.client.handshake.id=c41d110c-f582-40fd-abe9-577c138cae98
org.eclipse.update.reconcile=false
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1362460836322
osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.5
osgi.framework=file\:Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
com.genuitec.pulse.client.credentials=nPK/hjNwB5/oU78/FNVnQSW8H78MApx5Df4f+9gXZmCvESY4aMcJFU3LPwQ/iBlw60X6jW7Y9ixP eK7Sbe7J3CptS6DhDMBFfbRh1pCDoQ3dQgk5YbetHYNKVkwVF3K6uIKn1x/lD7eNIcCe9E0vs07O OV4aLlSu56QYQJm6qfs\=
osgi.splashLocation=E\:\\Program Files\\myeclipse8.5\\Common\\plugins\\com.genuitec.myeclipse.product85_8.5.0.me201003250242\\splash.bmp
com.genuitec.pulse.client.blueprint.id=rb-578452-1362460836322
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v201003231800.jar@1\:start
com.genuitec.pulse.common.server.url=https\://www.poweredbypulse.com\:443
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=com.genuitec.myeclipse.product85.ide
osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85
osgi.framework.extensions=
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=file\:/C\:/Users/xujin/AppData/Local/Genuitec/Common/configuration/
com.genuitec.pulse.client.basedir.location.override=C\:\\Users\\xujin\\AppData\\Local\\Genuitec
#Tue Mar 05 15:58:06 CST 2013
com.genuitec.pulse.client.handshake.id=c41d110c-f582-40fd-abe9-577c138cae98
org.eclipse.update.reconcile=false
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1362460836322
osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.5
osgi.framework=file\:Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
com.genuitec.pulse.client.credentials=nPK/hjNwB5/oU78/FNVnQSW8H78MApx5Df4f+9gXZmCvESY4aMcJFU3LPwQ/iBlw60X6jW7Y9ixP eK7Sbe7J3CptS6DhDMBFfbRh1pCDoQ3dQgk5YbetHYNKVkwVF3K6uIKn1x/lD7eNIcCe9E0vs07O OV4aLlSu56QYQJm6qfs\=
osgi.splashLocation=E\:\\Program Files\\myeclipse8.5\\Common\\plugins\\com.genuitec.myeclipse.product85_8.5.0.me201003250242\\splash.bmp
com.genuitec.pulse.client.blueprint.id=rb-578452-1362460836322
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v201003231800.jar@1\:start
com.genuitec.pulse.common.server.url=https\://www.poweredbypulse.com\:443
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=com.genuitec.myeclipse.product85.ide
osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85
osgi.framework.extensions=
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=file\:/C\:/Users/xujin/AppData/Local/Genuitec/Common/configuration/
com.genuitec.pulse.client.basedir.location.override=C\:\\Users\\xujin\\AppData\\Local\\Genuitec
在第6行有如下内容: osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.5 将其修改为:
osgi.instance.area.default=G\:\\MyEclipse 8.5\\Workspaces
其中G\:\\MyEclipse 8.5\\Workspaces为期望的默认加载工作空间 保存文件,重启MyEclipse即可!