On 2023-12-13, Austin Zhang wrote:

> java -jar apache-ivy-2.5.2/ivy-2.5.2.jar -dependency "org.tensorflow"
> "tensorflow-core-platform-gpu" "0.5.0" -retrieve
> "ivy/[organization]_[artifact]-[revision](-[classifier]).[ext]" -confs
> "runtime" -debug

> files in ivy folder are:
> com.google.protobuf_protobuf-java-3.19.4.jar
> org.bytedeco_javacpp-1.5.8-windows-x86_64.jar
> org.bytedeco_javacpp-1.5.8-linux-x86_64.jar
> org.tensorflow_tensorflow-core-api-0.5.0-linux-x86_64-gpu.jar
> org.tensorflow_tensorflow-core-api-0.5.0-windows-x86_64-gpu.jar
> org.tensorflow_ndarray-0.4.0.jar

> Both org.bytedeco_javacpp-1.5.8.jar and
> org.tensorflow_tensorflow-core-api-0.5.0.jar
> are missing.

Running this with a freshly downloaded ivy-2.5.2.jar results in

$ ls ivy
com.google.protobuf_protobuf-java-3.19.4.jar
org.bytedeco_javacpp-1.5.8.jar
org.bytedeco_javacpp-1.5.8-linux-x86_64.jar
org.bytedeco_javacpp-1.5.8-windows-x86_64.jar
org.tensorflow_ndarray-0.4.0.jar
org.tensorflow_tensorflow-core-api-0.5.0.jar
org.tensorflow_tensorflow-core-api-0.5.0-linux-x86_64-gpu.jar
org.tensorflow_tensorflow-core-api-0.5.0-windows-x86_64-gpu.jar

for me. It seems as if I do get the expected results.

If you have tried to download things with an earlier version of Ivy
before you may be using cached ivy descriptors created from the Maven
POMs with the older version.

I don't think you are hitting IVY-1576 - which is not the only bug in
translating POMs. In 2.5.2 we fixed IVY-1642 (which looks more like the
problem you have) which in turn is a more complete fix of IVY-1580.

Please remove your cached artifacts of everythng and try again with Ivy
2.5.2.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to