MyEclipse 8.5 更改默认的工作空间

MyEclipse 8.5 每次启动默认的工作空间为

C:\Documents and Settings\Administrator\Workspaces\MyEclipse 8.5

甚是恼人

修改如下配置文件,可以解决该问题:

 "D:\Program Files\Genuitec_\MyEclipse 8.5\configuration\config.ini"

该目录为MyEclipse的安装根目录下configuration目录下的config.ini文件。使用EditPlus或者notepad打开该文件如下所示:

#Generated by Pulse at Fri May 21 09:57:03 CST 2010 #Fri May 21 09:57:03 CST 2010 com.genuitec.pulse.client.handshake.id=c9bf19e2-fed1-409c-84e6-3e709536f6ac org.eclipse.update.reconcile=false eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1274341810546 [email protected]/Workspaces/MyEclipse 8.5 osgi.framework=file\:../Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar com.genuitec.pulse.client.credentials=cTOb7s2f3UXTnmnso/3saVlZNcsVYnKlA1cjOHZSvYRFZ35Xo13oQqBXZqPm+A+H9OLrKa2KQnub yZyGnsvnFebj1Y3NRNStATKJtB1itGImSAf4bTK+7WwSeLTOxHBkhX0DWm02aSmu7auXFH0kzlg2 8AtN4vblt5Lx2RrzgU0\= osgi.splashLocation=D\:\\Program Files\\Genuitec_\\Common\\plugins\\com.genuitec.myeclipse.product85_8.5.0.me201003250242\\splash.bmp com.genuitec.pulse.client.blueprint.id=rmb-758596 com.genuitec.pulse.common.server.url=https\://www.poweredbypulse.com\:443 osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v201003231800.jar@1\:start 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 eclipse.p2.data.area=file\:/C\:/Program Files/Genuitec/Common/configuration/ osgi.bundles.defaultStartLevel=4 osgi.framework.extensions= com.genuitec.pulse.client.basedir.location.override=C\:\\Program Files\\Genuitec

 
 

  大概在第6行有如下内容:

[email protected]/Workspaces/MyEclipse 8.5
 
   
   
   

 将其修改为:

osgi.instance.area.default=E\:\\Workspaces\\MyEclipse

 

  其中E:\Workspaces\MyEclipse为期望的默认加载工作空间

 但在ini文件需要写成E\:\\Workspaces\\MyEclipse

保存重启!over

猜你喜欢

转载自fengzhiyin.iteye.com/blog/676553