MyEclipse 8.5 每次启动默认的工作空间为
C:\Documents and Settings\Administrator\Workspaces\MyEclipse 8.5
每次启动的时候,都要切换到自己想要的工作空间,很烦。。。网上找到了更改其修改方案如下:
修改如下配置文件,可以解决该问题:
"C:\Program Files\Genuitec_\MyEclipse 8.5\configuration\config.ini"
该目录为MyEclipse的安装根目录下configuration目录下的config.ini文件(使用EditPlus或者notepad打开该文件如下所示):
#Thu Oct 21 12:57:54 CST 2010
com.genuitec.pulse.client.handshake.id=e202f385-132c-44d2-8afd-ebbc6b39a7d9
org.eclipse.update.reconcile=false
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1287598116328
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=ay1EYdy4RAeUbGwxllRmyhoa5A0aCL+Cn4T/EsT2GLh0KP53sayP3ik0QpSuhbjbo1ggAtCyIw6G Pfl4Zjl/kvw+JtOeliUOU1bZmb1dTr8CiglX1GZbqCjqT28ZB9jus9jA68fAkg46cbvzyXxQM/RS SgMUYOmOAlqZIvJ8jMc\=
osgi.splashLocation=C\:\\Program Files\\Genuitec\\Common\\plugins\\com.genuitec.myeclipse.product85_8.5.0.me201003250242\\splash.bmp
com.genuitec.pulse.client.blueprint.id=rb-578452-1287598116328
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\:/Program Files/Genuitec/Common/configuration/
com.genuitec.pulse.client.basedir.location.override=C\:\\Program Files\\Genuitec
大概在第6行有如下内容:(蓝色字体)
osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.5
将其修改为:
其中D:\Workspaces\MyEclipse为期望的默认加载工作空间
但在ini文件需要写成D\:\\Workspaces\\MyEclipse
osgi.instance.area.default=D\:\\Workspaces\\MyEclipse
这样保存下,下次启动的时候就到你想要的工作空间了......