Dan - thanks again - almost there with what I'm trying to do.
Two problems left - I haven't been able to build the plugin with your change
in.

I've pulled the code out of the repository through my proxy with:
svn checkout
https://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin
native-maven-plugin

Then I try to build it and I get these errors:
------------------------------------------------------------------------------------------------------------------------------
[INFO] [compiler:compile]
Compiling 8 source files to
/home/hedgert/maven/native-maven-plugin/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/hedgert/maven/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeLinkMojo.java:[198,14]
cannot resolve symbol
symbol  : method setExternalLibDirectory (java.io.File)
location: class org.codehaus.mojo.natives.linker.LinkerConfiguration

/home/hedgert/maven/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeLinkMojo.java:[199,14]
cannot resolve symbol
symbol  : method setExternalLibFileNames (java.util.List)
location: class org.codehaus.mojo.natives.linker.LinkerConfiguration

/home/hedgert/maven/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeJavahMojo.java:[136,14]
cannot resolve symbol
symbol  : method setFileName (java.lang.String)
location: class org.codehaus.mojo.natives.javah.JavahConfiguration

------------------------------------------------------------------------------------------------------------------------------
 I haven't touched the pom.xml file in the download - I've just downloaded
(svn checkout) and built (mvn compile) - is there something else I should
do?

Thanks
Tim
--
View this message in context: 
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5023602
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to