|
|
目次
Fedora Eclipse
Fedora Eclipseは、gcj(GNU Compiler for Java)によってネイティブコードにコンパイルされている。つまり、JVM(Java仮想マシン)に依存しない。 Fedora Eclipse 3.6.1(Helios) を pleiades 1.3.3.20101202 で日本語化する(Fedora 14編)
ここではeclipseをメモリ上で翻訳する Pleiades プラグインを使用する。
Fedora Eclipse のファイル、フォルダ構成
/usr/bin/eclipse # unzip pleiades_1.3.3.20101202.zip -d /usr/lib64/eclipse Archive: pleiades_1.3.3.20101202.zip creating: /usr/lib64/eclipse/features/jp.sourceforge.mergedoc.pleiades/ creating: /usr/lib64/eclipse/features/jp.sourceforge.mergedoc.pleiades/META-INF/ creating: /usr/lib64/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/ ~省略~
/usr/share/eclipse 日本語化プラグインのロード設定(eclipse.ini の修正)# gedit /usr/lib64/eclipse/eclipse.ini &
/usr/lib64/eclipse/eclipse.ini 最終行に pleiades の設定を追加する。 startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1.R36x_v20100810 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vmargs -Xms128m -Xmx384m -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/ DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/ cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/ PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/ revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/ FileTypesPreferencesPage,getDottedValidSourceFiles ##### 以下のように設定をフルパスにて追加 ##### -javaagent:/usr/lib64/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar 起動確認Fedora Eclipse 3.4.1(Ganymede) を pleiades 1.3.0.I で日本語化する(Fedora 10編)
ここではeclipseをメモリ上で翻訳する Pleiades プラグインを使用する。
Fedora Eclipse のファイル、フォルダ構成
/usr/bin/eclipse 日本語化プラグインのロード設定(eclipse.ini の修正)
/usr/lib64/eclipse/eclipse.ini -showsplash org.fedoraproject.ide.platform --launcher.XXMaxPermSize 256m -framework plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar -vmargs -Xms40m -Xmx512m -XX:MaxPermSize=128m -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/ DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/ cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/ PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/ revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/ FileTypesPreferencesPage,getDottedValidSourceFiles -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/ share/eclipse/dropins ##### 以下のように設定をフルパスにて追加 ##### -javaagent:/usr/lib64/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar 起動確認以前のバージョンの日本語化(保管用 - 古い方法です)/usr/bin/eclipse #!/bin/sh exec /usr/lib64/eclipse/eclipse \ --launcher.library /usr/lib64/eclipse/plugins org.eclipse.equinox.launcher.gtk.linux. x86_64_1.0.0.v20070606/eclipse_1017a.so \
${1+“$@”} 以下のように修正する #!/bin/sh exec /usr/lib64/eclipse/eclipse \ --launcher.library /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux. x86_64_1.0.0.v20070606/eclipse_1017a.so \
${1+“$@”} /usr/share/eclipseにpleiadesをインストールする。 一旦root権限でeclipseを起動し終了する $su $eclipse & /usr/share/eclipse/configuration/jp.sourceforge.mergedoc.pleiadesにフォルダが出来る Pleiades が上記フォルダに翻訳キャッシュを書き込むので一般ユーザでも書き込めるように設定する chmod 666 /usr/share/eclipse/configuration/jp.sourceforge.mergedoc.pleiades/pleiades.log 特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Noncommercial-Share Alike 3.0 Unported
|
|
Copyright © 2007-2011 tomoyan.net 本ページのすべての商標と著作権はそれぞれの所有者に帰属します。 |
Powered by Geeklog ページ作成時間 0.12 秒 |