dkowis wrote:
> I've searched the mailing lists and they don't quite get far enough on this
> subject for me.
> 
> I've got a project, incidentally it's the rxtx.org package, that uses the
> rxtxSerial.dll. I then have another project that uses that project:
> 
> Project A
>  |
>  | - Project b
>      |
>      |- zipfile containing rxtxSerial.dll and rxtxParallel.dll
> 
> So the end project needs to have the zip file somewhere in it's runtime
> path. Project A does see that it has a runtime dependency of that zip file,
> but nothing smart happens with it.

A fairly common idiom for this sort of thing is to pack the dlls in a
.jar file on the classpath, and make the Java code that requires the
native libraries responsible for extracting them from the classpath into
 a temporary directory at runtime, and loading them.

Max.

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

Reply via email to