---
title: "Myeclipse8.5 默认WorkSpace丢失问题"
author: "niaodianjava"
date: "2011-10-30T21:47:16Z"
tags: []
categories: ["行业应用"]
slug: "myeclipse8-5-workspace"
draft: false
lastmod: "2011-10-30T22:03:10Z"
id: 1223116
url: "https://niaodianjava.iteye.com/blog/1223116"
---

前些天新装的Myeclipse8.5,第一次打开时,选择了不再提示我选择工作空间的选项.

 

用了很多天没有什么问题,今天删除以前不用的项目关闭了Myeclipse,重新打开后Myeclipse莫名其妙的初始化了所有设置,也看不见以前的项目了,只有在file-switch workspace选中工作空间地址自动重启后才正常,让我很烦躁,难道每次还得打开两次Myeclipse不成?

 

上网看了一些资料,都是以前版本的Myeclipse,那些方法已经不再奏效了,不过看到了关于Myeclipse配置的文章觉得很有用,最后在Myeclipse根目录下的configuration/config.ini文件里解决了问题.

文件内容如下:

 

#Generated by Pulse at Sun Apr 04 13:00:19 CST 2010  
#Sun Apr 04 13:00:19 CST 2010  
com.genuitec.pulse.client.handshake.id=3dc97a6d-43c3-4e8a-acfd-7067f95c11ae  
org.eclipse.update.reconcile=false  
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578451-1270350077164  
**osgi.instance.area.default=file\\:/D:/WIN7/MyEclipse Blue Edition 8.5/WorkSpaces**  
osgi.framework=file\\:Common/plugins/org.eclipse.osgi\_3.5.2.R35x\_v20100126.jar  
com.genuitec.pulse.client.credentials=n1DSwjLbrTD7EP97i4vsF4DJOL0QGzWy0SbBg/vtR5doBZ6nHPFY3CJw6S0K1Nb/T0bbeVZP/yjY 4zcjM8JF2SNG4pivVizJ+z42nE9Pt2VqX2vedH7khQsj8rLl04f5IwxE3uPp5r0JiGWPvcV8ndC9 EgO8XQfF+KQyBkw6ccQ\\=  
osgi.splashLocation=D\\:\\\\WIN7\\\\MyEclipse Blue Edition 8.5\\\\Common\\\\plugins\\\\com.genuitec.myeclipse.blue.product85\_8.5.0.me201003250242\\\\splash.bmp  
com.genuitec.pulse.client.blueprint.id=rmb-607919  
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.blue.product85.ide  
osgi.splashPath=platform\\:/base/plugins/com.genuitec.myeclipse.blue.product85  
eclipse.p2.data.area=file\\:/I\\:/Users/Y/AppData/Local/Genuitec/Common/configuration/  
osgi.bundles.defaultStartLevel=4  
osgi.framework.extensions=  
com.genuitec.pulse.client.basedir.location.override=I\\:\\\\Users\\\\Y\\\\AppData\\\\Local\\\\Genuitec

标注的那句就是默认工作空间的配置,按照上面的格式更改保存后每次启动不用在switch workspace了,不知道什么原因产生的这个bug.

 

还有删掉"\\eclipse\\configuration\\.settings\\org.eclipse.ui.ide.prefs".

执行上述操作后, 再次启动, 又会弹出"Workspace Launcher"对话框, 可以重新设置了.