Locked History Actions

Diff for "ivy/IvyDE/revdepexplorer"

Differences between revisions 5 and 6
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:
To synchronize revisions, click in the column and row of the item you want to change and type in the new revision. The item should be highlighted green to indicate that it is tagged for synchronization. Click the synchronize button as shown to save your changes.
リビジョンを同期させる方法だが、「new revision」列の変更したい行をクリックしてタイプする。
アイテムは緑色になる。これは同機のためのタグである。
以下に示すようにsynchronizedボタンをクリックして変更をセーブする。

逆依存性エクスプローラ

紹介

一つのワークスペースの中の複数のプロジェクトで作業を行っており、 それらは、より大きなアプリケーション全体か一部であるとする。 そんなとき、複数の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 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.

リビジョン間の同期

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

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