私は ivy を使用しており、私が働いている会社には、いくつかの楽しい小さな ivy と ant のチュートリアルがあります。
各チュートリアルは、依存関係セクションで使用された場合に、ivy ビルド xml ファイルで矢印が何をするかを完全に回避するのに役立ちます。
したがって、この設定を考えると:
<configurations>
<conf name = "runtime" />
<conf name = "build-tests" extends="runtime" />
</configurations>
...
<dependencies>
...
<dependency org="blah" name="junit" rev="default" conf="build-tests->runtime"/>
<dependency org="blahblah" name="xmlutil" rev="default" conf="build-tests->testing"/>
<dependency org="blahblahblah" name="slf4j" rev="default" conf="build-tests->simple"/>
</dependencies>
各依存関係は何を宣言していますか? build-tests は既に (config 宣言から) ランタイムを拡張していると思っていたのに、依存関係の conf がこれを言い直すのはなぜですか? 必要ですか?
testing
とsimple
は、私が持っている ivy.xml で宣言されていません。それらは魔法であり、正式な宣言の外に存在しますか?
ありがとう!