eclipseメモ/最小パッケージ
Tag: eclipse
eclipseの最低限のプラググインのみを含む最小のパッケージを作成します。
Eclipse IDE for C/C++ Developersに含まれるCDT等、後からインストールすることが出来るプラグインを自分専用のプラグインフォルダに格納して共有したい場合に使います。
なお、本記事はGanymede SR2 (3.4.2)で作成しています。
以下のパッケージをダウンロードしてきます。
パッケージ | ファイル名 |
Eclipse IDE for Java Developers | eclipse-java-ganymede-SR2-win32.zip |
Eclipse IDE for C/C++ Developers | eclipse-cpp-ganymede-SR2-win32.zip |
別のフォルダに解凍し、ディレクトリとファイルの差分を確認します。
両方に存在するファイルはeclipseの起動に最低限必要なファイルと考えられます。
どちらかにしか存在しないディレクトリとファイルを削除します。
以下のファイルを変更します。
eclipse\plugins\org.eclipse.platform_3.3.101.v200902111700\plugin_customization.ini
# plugin_customization.ini # sets default values for plug-in-specific preferences # keys are qualified by plug-in id # e.g., com.example.acmeplugin/myproperty=myvalue # java.io.Properties file (ISO 8859-1 with "\" escapes) # "%key" are externalized strings defined in plugin_customization.properties # This file does not need to be translated. # WARNING: This file defines the preference overrides for the Platform build # (the one with no JDT or PDE), not the SDK build (aka the IDE). # For the SDK build, use the plugin_customization.ini file in the # org.eclipse.sdk plug-in instead. # Property "org.eclipse.ui/defaultPerspectiveId" controls the # perspective that the workbench opens initially
旧:Eclipse IDE for C/C++ Developers
org.eclipse.ui/defaultPerspectiveId=org.eclipse.cdt.ui.CPerspective
旧:Eclipse IDE for Java Developers
org.eclipse.ui/defaultPerspectiveId=org.eclipse.jdt.ui.JavaPerspective
最小化パッケージ用更新後
org.eclipse.ui/defaultPerspectiveId=org.eclipse.ui.resourcePerspective
# new-style tabs by default org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=false # put the perspective switcher on the top right org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight # show progress on startup org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP=true # Welcome theme to use org.eclipse.ui.intro/INTRO_THEME = org.eclipse.ui.intro.universal.circles # Root page links to show in the Universal Welcome org.eclipse.ui.intro.universal/INTRO_ROOT_PAGES = overview,tutorials,samples,whatsnew # Initial page layout of the Universal Welcome org.eclipse.ui.intro.universal/INTRO_DATA = product:introData.xml # Order help books in table of contents org.eclipse.help/HELP_DATA = helpData.xml
そのまま使用しても問題ないですが、万が一のため、適当な圧縮ソフトで圧縮しておきましょう。
コメントはありません。 コメント/eclipseメモ/最小パッケージ?
Online: 1