{{title Eclipse 3.0.1で DbEdit-1.0.2を利用するには...}}
!!!Eclipse 3.0.1で DbEdit-1.0.2を利用するには...
[DbEdit-1.0.2-3.0|http://sourceforge.net/projects/dbedit]は org.apache.xerces プラグインを必要とする為、
このプラグインが含まれていない Eclipse 3.01 では動作しません。

ここでは、DbEdit を Eclipse 3.0.1 で動作させる為の修正方法をメモとして残します。

<<DbEdit-1.0.3では、この問題が解決されています。>> - 追記:2005/03/15

!!必要となるもの
* [DbEdit-1.0.2-3.0|http://sourceforge.net/projects/dbedit]
* [Xerces-J-1.4.4|http://xml.apache.org/xerces-j/] - 2005/02/24時点の最終バージョンは 1.4.4 です。
**Xerces-J は既に開発が完了しているようで、現在は Xerces2-J となっていますが、ここでは、旧バージョンの Xerces-J が必要になります。

!!DbEditのインストール
1. DbEdit のサイトから dbedit_1.0.2.bin.dist_3.0.zip をダウンロードし、Eclipseのインストールディレクトリに解凍します。

!!Xerces-Jのインストール
1. Xerces-J のサイトから Xerces-J-bin.1.4.4.zip をダウンロードし、圧縮ファイル内の '''xerces.jar''' を取り出します。

2. ''<Eclipseインストールディレクトリ>''/plugins/dbedit.core_1.0.2 に '''xerces.jar''' をコピーします。

!!修正箇所
1. ''<Eclipseインストールディレクトリ>''/features/dbedit_1.0.2 内の '''feature.xml''' を開き、下記に示す修正を行ないます。
 --- feature.xml.org     Thu Feb 24 10:54:12 2005
 +++ feature.xml Thu Feb 24 10:15:20 2005
 @@ -237,7 +237,6 @@
        <import plugin="org.eclipse.ui"/>
        <import plugin="org.eclipse.swt"/>
        <import plugin="org.eclipse.compare"/>
 -      <import plugin="org.apache.xerces"/>
     </requires>
 
     <plugin
2. ''<Eclipseインストールディレクトリ>''/plugins/dbedit.core_1.0.2 内の '''plugin.xml''' を開き、下記に示す修正を行ないます。
 --- plugin.xml.org      Thu Feb 24 10:57:53 2005
 +++ plugin.xml  Thu Feb 24 10:31:29 2005
 @@ -11,6 +11,9 @@
        <library name="dbeditcore.jar">
           <export name="*"/>
        </library>
 +      <library name="xerces.jar">
 +         <export name="*"/>
 +      </library>
     </runtime>
     <requires>
        <import plugin="org.eclipse.core.runtime"/>

3. 修正完了後、Eclipse を起動(再起動)してください。問題なく使用できると思います。

{{pcomment , ,count}}