通过MyEclipse的配置文件修改默认工作目录

文件路径
C:\Users\Tianlin\AppData\Local\Genuitec\MyEclipse 8.5\configuration\config.ini

打开文件

#Generated by Pulse at Thu Mar 29 13:25:22 CST 2012
#Thu Mar 29 13:25:22 CST 2012
com.genuitec.pulse.client.handshake.id=62771f2b-f77c-4e4b-92cb-396a757cd9c1
org.eclipse.update.reconcile=false
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1332992435581

[email protected]/Workspaces/MyEclipse 8.5

osgi.framework=file\:../Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
osgi.splashLocation=C\:\\Users\\Tianlin\\AppData\\Local\\Genuitec\\Common\\plugins\\com.genuitec.myeclipse.product85_8.5.0.me201003250242\\splash.bmp
com.genuitec.pulse.client.blueprint.id=rb-578452-1332992435581
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\:/Users/Tianlin/AppData/Local/Genuitec/Common/configuration/
osgi.bundles.defaultStartLevel=4
osgi.framework.extensions=
com.genuitec.pulse.client.basedir.location.override=C\:\\Users\\Tianlin\\AppData\\Local\\Genuitec

大概在第6行修改

[email protected]/Workspaces/MyEclipse 8.5
改为
osgi.instance.area.default=E\:\\work

然后重新启动MyEclipse8.5

以上均为网络答案。

可是我的修改之后重新启动不成功。每次都显示说目录中的  .metadata   read   only

最后我又改回原来的默认目录了