MyEclipse 默认工作空间的设置
当我们用MyEclipse进行开发时,如MyEclipse8.5,每次启动默认的工作空间为
C:\DocumentsandSettings\Administrator\Workspaces\MyEclipse8.5
而有时我们希望在启动MyEclipse时就进入我们所设置的工作空间,其设置如下:
修改如下配置文件,可以解决该问题:
"D:\ProgramFiles\MyEclipse\MyEclipse8.5\configuration\config.ini"
该目录为MyEclipse的安装根目录下configuration目录下的config.ini文件。使用EditPlus或者notepad打开该文件如下所示:
#GeneratedbyPulseatFriMay2109:57:03CST2010#FriMay2109:57:03CST2010com.genuitec.pulse.client.handshake.id=c9bf19e2-fed1-409c-84e6-3e709536f6acorg.eclipse.update.reconcile=falseeclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1274341810546osgi.instance.area.default=@user.home/Workspaces/MyEclipse8.5osgi.framework=file\:../Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jarcom.genuitec.pulse.client.credentials=cTOb7s2f3UXTnmnso/3saVlZNcsVYnKlA1cjOHZSvYRFZ35Xo13oQqBXZqPm+A+H9OLrKa2KQnubyZyGnsvnFebj1Y3NRNStATKJtB1itGImSAf4bTK+7WwSeLTOxHBkhX0DWm02aSmu7auXFH0kzlg28AtN4vblt5Lx2RrzgU0\=osgi.splashLocation=D\:\\ProgramFiles\\Genuitec_\\Common\\plugins\\com.genuitec.myeclipse.product85_8.5.0.me201003250242\\splash.bmpcom.genuitec.pulse.client.blueprint.id=rmb-758596com.genuitec.pulse.common.server.url=https\://www.poweredbypulse.com\:443osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v201003231800.jar@1\:startorg.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.infoeclipse.product=com.genuitec.myeclipse.product85.ideosgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85eclipse.p2.data.area=file\:/C\:/ProgramFiles/Genuitec/Common/configuration/osgi.bundles.defaultStartLevel=4osgi.framework.extensions=com.genuitec.pulse.client.basedir.location.override=C\:\\ProgramFiles\\Genuitec
大概在第6行有如下内容:
[email protected]/Workspaces/MyEclipse8.5
将其修改为:
osgi.instance.area.default=E\:\\Workspaces\\Project
其中E:\Workspaces\Project为期望的默认加载工作空间
保存重启!Ok!
相关推荐
A.在myeclise中恢复例子开发环境:1>在myeclipse中新建一个web工程,项目名称自己任意取名,"J2EE Specification Level"一栏选择"J2EE1.4",然后点击"