IT忍者神龟之MyEclipse 8.6.1 制作绿色版

来源:互联网 发布:千牛mac电脑官方下载 编辑:程序博客网 时间:2024/06/04 18:49
安装文件:myeclipse-8.6.1-win32.exe
安装目录:D:\MyEclipse\8.6
运行安装:
MyEclipse Install Directory -->C:\Users\Administrator\AppData\Local\Genuitec\MyEclipse-8.6
修改为:D:\MyEclipse\8.6.1\MyEclipse

这样的话,后面所有配置文件的修改,都是以D:\MyEclipse\8.6.1\MyEclipse\为相对根路径来修改的

Common directory --> C:\Users\Administrator\AppData\Local\Genuitec\Common
修改为:D:\MyEclipse\8.6.1\Common

安装完成:
选择默认工作区:D:\MyEclipse\workspace\8.6.1

修改配置文件:D:\MyEclipse\8.6.1\MyEclipse\myeclipse.ini
#utf8 (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
D:\MyEclipse\8.6.1\MyEclipse
-vm
D:/MyEclipse/8.6.1/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
D:\MyEclipse\8.6.1\MyEclipse\configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m

全部改为相对路径
#utf8 (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
../MyEclipse
-vm
../Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
../MyEclipse/configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m

也可以修改myeclipse.ini中配置的jvm路径

编辑文件:D:\MyEclipse\8.6.1\MyEclipse\configuration\.settings\org.eclipse.ui.ide.prefs
#Fri Feb 24 11:19:52 CST 2012
RECENT_WORKSPACES_PROTOCOL=3
MAX_RECENT_WORKSPACES=5
SHOW_WORKSPACE_SELECTION_DIALOG=false
eclipse.preferences.version=1
RECENT_WORKSPACES=D\:\\MyEclipse\\workspace\\8.6.1
修改为:
#Fri Feb 24 09:35:06 CST 2012
RECENT_WORKSPACES_PROTOCOL=3
MAX_RECENT_WORKSPACES=5
SHOW_WORKSPACE_SELECTION_DIALOG=false
eclipse.preferences.version=1
RECENT_WORKSPACES=..\\..\\workspace\\8.6.1

修改文件:D:\MyEclipse\8.6.1\MyEclipse\configuration\org.eclipse.equinox.simpleconfigurator目录下bundles.info中配置的插件路径,
替换内容:"file:/D:/MyEclipse/8.6.1/Common/" 全部替换成"file\:../Common/",
file:/D:/MyEclipse/eclipse-plugins/ 全部替换成"file\:../../eclipse-plugins/"

修改:D:\MyEclipse\8.6.1\MyEclipse\configuration\config.ini
#Generated by Pulse at Fri Feb 24 11:20:08 CST 2012
#Fri Feb 24 11:20:08 CST 2012
org.eclipse.update.reconcile=false
com.genuitec.pulse.client.handshake.id=b519db33-4a06-46ea-bb86-3b1fa36f2bf6
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1330053273594
osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.6
osgi.framework=file\:../Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
com.genuitec.pulse.client.credentials=IH5xjImaOQGHFt5qtlwPnUWaVWV3X42/E6volPHK5yaV52trXdqWLvCH7N5P1PRx/UGBAocKGiSj nat9nCUhjKD4qMfMLAhYgIK56dOq3sFamO8SQJJHd1sQfk7U5fN0jjL6/RthMwtu3UIURIH6Ej7L vfAc42w0Fc2Mb9XjNR4\=
osgi.splashLocation=D\:\\MyEclipse\\8.6.1\\Common\\plugins\\com.genuitec.myeclipse.product85_8.6.1.me201011171823\\splash.bmp
com.genuitec.pulse.client.blueprint.id=rb-578452-1330053273594
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v201007291200.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=reference\:file\:javax.transaction_1.1.1.v201002111330.jar
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=file\:/C\:/Users/Administrator/AppData/Local/Genuitec/Common/configuration/
com.genuitec.pulse.client.basedir.location.override=C\:\\Users\\Administrator\\AppData\\Local\\Genuitec
全改为相对路径
#Generated by Pulse at Fri Feb 24 11:20:08 CST 2012
#Fri Feb 24 11:20:08 CST 2012
org.eclipse.update.reconcile=false
com.genuitec.pulse.client.handshake.id=b519db33-4a06-46ea-bb86-3b1fa36f2bf6
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1330053273594
osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.6
osgi.framework=file\:../Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
com.genuitec.pulse.client.credentials=IH5xjImaOQGHFt5qtlwPnUWaVWV3X42/E6volPHK5yaV52trXdqWLvCH7N5P1PRx/UGBAocKGiSj nat9nCUhjKD4qMfMLAhYgIK56dOq3sFamO8SQJJHd1sQfk7U5fN0jjL6/RthMwtu3UIURIH6Ej7L vfAc42w0Fc2Mb9XjNR4\=
osgi.splashLocation=..\\Common\\plugins\\com.genuitec.myeclipse.product85_8.6.1.me201011171823\\splash.bmp
com.genuitec.pulse.client.blueprint.id=rb-578452-1330053273594
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v201007291200.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=reference\:file\:javax.transaction_1.1.1.v201002111330.jar
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=file\:../Genuitec/Common/configuration/
com.genuitec.pulse.client.basedir.location.override=..\\Genuitec

C:\Users\Administrator\AppData\Local\Genuitec 这个目录改为:D:\MyEclipse\8.6.1\MyEclipse\Genuitec

安装插件,建议都下载相关插件,使用link进行使用
所有插件都下载解压到:D:\MyEclipse\eclipse-plugins

1、安装svn插件:site-1.6.18.zip
解压目录:D:\MyEclipse\eclipse-plugins\svn-1.6.18

插件安装目录:D:\MyEclipse\8.6.1\ MyEclipse \dropins
创建svn插件链接文件:svn.link
内容:path=..\\..\\eclipse-plugins\\svn-1.6.18
删除E:\MyEclipse\MyEclipse8.5\configuration\org.eclipse.update文件夹

每安装完插件都要再修改文件:D:\MyEclipse\8.6.1\MyEclipse\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info,
替换内容:file:/D:/MyEclipse/eclipse-plugins/ 全部替换成"file\:../../eclipse-plugins/"

这样纯绿色版MyEclipse 8.6.1就打造好了,直接拷到U盘中就可以运行了

1 0