Did you get this working Mike, I have the same issue... I need a dll on the
java.libraray.path. I've installed this in the repo, and I've also got it in
./src/main/resources... but System.loadLibrary("my-native-code"); barfs with
an unlinked error everytime!
On Wed, Jun 18, 2008 at 10:41 PM, Mike
I'm lost with this DLL business... What pains me the most is that I'm sure
it's quite the trivial thing to do, but I can't seem to figure it out...
Mikel
On Tue, Jun 17, 2008 at 15:31, Mikel Cármenes Cavia <[EMAIL PROTECTED]>
wrote:
> Kalle,
> I have made sure to carefully deploy the dll's to my
Kalle,
I have made sure to carefully deploy the dll's to my repository, with the
appropriate packaging parameters and all. Initially I was using mvn
install:install-file, I now use mvn deploy:deploy-file, and when I look
inside the repository, it all seems to be there, and it looks to be correct.
I'm guessing you didn't install the dll with the packaging type "dll" (use
-Dpackaging=dll, the default is jar -
http://maven.apache.org/plugins/maven-deploy-plugin/usage.html). Check your
local repository and the pom for the dll. Regarding your earlier question,
you sure can package it into a jar
I have followed the steps, and I am now getting the following error message
when I try to package my project:
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] F
I will give those steps a shot today and let you all know if I run into any
problems. It sounds like a pretty logical thing to do actually, and
fortunately I do not require cross-platform compilation and support at this
point.
One quick question though, when you say that I should use the dependency
If you don't need to worry about cross-platform compilation & support (and
sounds like you don't), the most straight-forwarded way to do this is to
deploy your dll to a Maven repository with type "dll", declare a straight-up
dependency to it in your pom and then use the dependency plugin to copy th
Hey guys,
I need to include three DLL's in my Maven project. Prior to deciding to
email the list, I have looked around the archives, and haven't been able to
find anything that would seem to answer my problem (which is a very easy one
in nature).
I use JNA to interface with two of the three DLL's