Myeclipse 啓動時 An error has occurred.see the log file

MyEclipse 8.5 更改默認的工作空間

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打開該文件如下所示):

 

 

寫道
#Generated by Pulse at Thu Oct 21 12:57:54 CST 2010
#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
[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=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行有如下內容:(藍色字體)

[email protected]/Workspaces/MyEclipse 8.5

將其修改爲:

其中D:\Workspaces\MyEclipse爲期望的默認加載工作空間

但在ini文件需要寫成D\:\\Workspaces\\MyEclipse

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

 

 

這樣保存下,下次啓動的時候就到你想要的工作空間了......

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章