Hi all, we are trying to use ivy (
https://ant.apache.org/ivy/) for package management in our netbeans java ant project. The problem we have is that no matter what mixture of packages we specify, we don't get the correct native jar for windows. Our ivy configuration is some combination of the following
<dependency org="org.usb4java" name="usb4java" rev="1.2.0" />
<dependency org="org.usb4java" name="usb4java-javax" rev="1.2.0" />
<!--<dependency org="org.usb4java" name="libusb4java" rev="1.2.0" />-->
Ideally, only the first dependency should be enough to use everything.
Building this project from windows, In our lib folder (which is where ivy puts the jars), we get
usb4java-1.2.0.jar
usb4java-javax-1.2.0.jar
but only this single native jar file
libusb4java-1.2.0-osx-x86_64.jar
On windows, this results in the exception
org.usb4java.LoaderException: Native library not found in classpath: /org/usb4java/windows-x86_64/libusb-1.0.dll
Could there be something incorrect about the maven POMs or other configuration?
Any suggestions welcome, thank you!