您的位置:首页 > 编程语言 > Java开发

myeclipse 修改默认workspace

2012-02-17 11:18 218 查看
前些天新装的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.
http://visionsky.blog.51cto.com/733317/396314
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: