1

私は、equinoxp2をインストールしたメインバンドルを1つ作成しました。次に、それをエクスポートして実行可能ファイルを取得します。私の実行可能ファイルは正しく機能します。

また、最初のバンドルと相互作用するもう1つのバンドルを作成しました。Eclipseでは、これら2つのバンドルを使用して製品構成を作成し、その製品を実行すると、すべてが機能します。

その後、2番目のバンドルを「デプロイ可能な機能」としてエクスポートし、「ヘルプ->新しいソフトウェアのインストール」を介してアプリケーションにこのバンドルをインストールします。インストールはできますが、アプリケーションを再起動しても、バンドルは常に「解決済み」の状態のままです。状態を「ACTIVE」に設定したいのですが。

「製品構成」で行ったように、バンドルを自動起動するように構成できるかどうか知っていますか?または別の解決策はありますか?

4

2 に答える 2

1

Try to start your bundle manually with the commandline command "start ". It seems that there are some problems in BundleActivator of your bundle. You should get some logs (errors/warnings).

于 2010-07-06T09:03:44.477 に答える
1

The RESOLVED state is not an error state, it simply means nobody has activated your bundle. Why do you need it to be ACTIVE? Is there some other error caused by the fact that it is not ACTIVE?

Otherwise, if your application is working then just don't worry about it.

于 2010-08-21T23:38:40.767 に答える