LoginSignup
9
11

More than 5 years have passed since last update.

eclipse4.5(mars)以降でdjunitプラグインを使う方法

Last updated at Posted at 2016-03-03

あいかわらずマニアックなネタですが。

概要

  • eclipse4.5以降では「jp.co.dgic.eclipse.jdt.djunit_3.5.x_0.8.6.zip」がそのまま使えないため、対応方法について説明します。

対象環境

  • "Eclipse IDE for Java Developers 4.5.2" or "pleiades-e4.5-java_20160229.zip(eclise 4.5.2)*
  • jp.co.dgic.eclipse.jdt.djunit_3.5.x_0.8.6

簡単な原因/対応説明

  • Eclipse 2.0 Styple pluginのため。
    • 「Eclipse 2.0 Style Plugin Support」プラグインを入れる。
    • Eclipse 3.0 以降の plugin styleに修正する。
  • eclipse4.5.2では「org.eclipse.core.boot」プラグインが削除さているため。
    • 「plugin.xml」から「<import plugin="org.eclipse.core.boot"/>」を削除する。

詳細な対応説明

  • 「Eclipse 2.0 Style Plugin Support」プラグインを入れる。

    • 「pleades 4.5 java」を使う。(一番楽)
      (配置後、eclipse -cleanを行ってください)
    • eclipse updateを使う。
      ecilpse 4.5のアップデートサイトでは手にはいらないため、
      4.4のアップデートサイトから落とす。(luna update site
      依存関係の兼ね合いでインストールがかなりややこしいです。
    • 直接ダウンロードする。
      feature
      plugin
  • 「plugin.xml」から「<import plugin="org.eclipse.core.boot"/>」を削除する。

    • 「jp.co.dgic.eclipse.jdt.djunit_3.5.x_0.8.6.zip」を解凍し対象の行を削除。

修正済み版のダウンロードについて

9
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
11