Locked History Actions

Diff for "ivy/IvyDE/revdepexplorer"

Differences between revisions 6 and 7
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
Organization/module pairs that have conflicting revisions are highlighted in red (junit in the above example). Note that in the above example, though the revisions do not match, these two revision attributes may actually resolve to the same artifact, depending on what is available in the repository. The view does not attempt to perform a resolve and match the resolved artifacts. It simply compares the text of the attributes. 衝突のあるorganization/moduleペアは赤でハイライトされる(上の例ではjunit

Note that in the above example, though the revisions do not match, these two revision attributes may actually resolve to the same artifact, depending on what is available in the repository. The view does not attempt to perform a resolve and match the resolved artifacts. It simply compares the text of the attributes.
Line 38: Line 40:

※訳注:この機能は少なくともpom.xmlをivyファイルとしている場合はうまく動作しない。実行すると、pom.xmlが壊れてしまう。

逆依存性エクスプローラ

紹介

一つのワークスペースの中の複数のプロジェクトで作業を行っており、 それらは、より大きなアプリケーション全体か一部であるとする。 そんなとき、複数のIvyファイルの中の依存のリビジョンを一つのリビジョンに同時に変更したい場合があるだろう。

あるいは、単に各のプロジェクトのそれぞれのモジュールでデスクリプタを調べることなしに、プロジェクトによって依存がどのように利用されているかを見たい場合があるかもしれない。

Reverse Dependency Explorerは依存ツリーをさかさまにし、organization, module, revisionを調査し、 プロジェクト・クラスパスコンテナを横断してrevisionを同期するメカニズムを提供する。

次のように、三つのプロジェクトのあるワークスペースを考えてみよう。それぞれのルートにはivy.xmlファイルがある。 これらのivyファイルは関連するIvyDE管理のクラスパスコンテナを持つ。

http://ant.apache.org/ivy/ivyde/history/latest-milestone/images/revexplorer_project.jpg

いずれか(あるいはすべて)のプロジェクトを右クリックし、「Ivy > Reverse Dependency Explorer」を選択するとビューがオープンする。 エクスプローラは、それぞれのorganization/moduleペアについて一つのアイテムとなる木構造を表示する。 第三列はこのペアの、選択したプロジェクトについてのすべてのrevisionを表示する。 ツリーアイテムを展開すると、ivyクラスパスコンテナの依存するモジュールリビジョンを確認できる(もしあれば)。 ただし、このビューでは直接依存のみを示し、推移的依存は示されない。

http://ant.apache.org/ivy/ivyde/history/latest-milestone/images/revexplorer_view.jpg

衝突のあるorganization/moduleペアは赤でハイライトされる(上の例ではjunit)

Note that in the above example, though the revisions do not match, these two revision attributes may actually resolve to the same artifact, depending on what is available in the repository. The view does not attempt to perform a resolve and match the resolved artifacts. It simply compares the text of the attributes.

リビジョン間の同期

リビジョンを同期させる方法だが、「new revision」列の変更したい行をクリックしてタイプする。 アイテムは緑色になる。これは同機のためのタグである。 以下に示すようにsynchronizedボタンをクリックして変更をセーブする。

http://ant.apache.org/ivy/ivyde/history/latest-milestone/images/revexplorer_sync.jpg

※訳注:この機能は少なくともpom.xmlをivyファイルとしている場合はうまく動作しない。実行すると、pom.xmlが壊れてしまう。