Re: Can't get jni working based on example configuration

2006-06-25 Thread dan tran
Tim, I just release 1.0-alpha-1 release, please check the announcement. -Dan On 6/25/06, TimHedger <[EMAIL PROTECTED]> wrote: Tim/Dan, Thank you both for your help on this. I now have both the plugin and my own code (using the modified plugin) working. I had to remove a couple of reposito

Re: Can't get jni working based on example configuration

2006-06-25 Thread TimHedger
Tim/Dan, Thank you both for your help on this. I now have both the plugin and my own code (using the modified plugin) working. I had to remove a couple of repository entries from my pom, then all the errors in both builds went away. Thanks Tim -- View this message in context: http://www.nabble

Re: Can't get jni working based on example configuration

2006-06-25 Thread Tim Kettler
TimHedger schrieb: Tim - Now another repository is missing I guess - where do find this one? jdom is available on central (http://repo1.maven.org/maven2/jdom/jdom/1.0/). So your setup should be ok. Sometimes the central repo times out due to heavy load. Have you tried building a second time?

Re: Can't get jni working based on example configuration

2006-06-25 Thread TimHedger
Dan, I've added in the repository you mentioned to my settings.xml file (relevant section included in my reply post to Tim on building the code from scratch), but I'm now getting a different error: [INFO] [ERROR] BUILD ERRO

Re: Can't get jni working based on example configuration

2006-06-25 Thread TimHedger
Tim - Now another repository is missing I guess - where do find this one? (And how do I work out which repositories I need for the build? I thought the whole point of maven was that the sufficient information to build something would be included in its pom.xml?) This is my repositories section

Re: Can't get jni working based on example configuration

2006-06-24 Thread Tim Kettler
Hi, mojo-9.pom is available at http://repository.codehaus.org. You will have to add this as a repository. -Tim TimHedger schrieb: Still struggling with the build - I now have the whole maven-native source tree, and I get this error: : mvn compile [INFO] Scanning for projects... Downloading:

Re: Can't get jni working based on example configuration

2006-06-24 Thread TimHedger
Still struggling with the build - I now have the whole maven-native source tree, and I get this error: : mvn compile [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/9/mojo-9.pom [WARNING] Unable to get resource from repository central (http://repo

Re: Can't get jni working based on example configuration

2006-06-24 Thread dan tran
I am able to deploy a new snapshot at http://snapshots.repository.codehaus.org/ . Note this is the new snapshot repo at codehaus you dont need compile from source any more, but suggest to do so to be familar with the code -Dan On 6/24/06, dan tran <[EMAIL PROTECTED]> wrote: you need to pul

Re: Can't get jni working based on example configuration

2006-06-24 Thread dan tran
you need to pull the whole source tree and build from top, not the plugin alone https://svn.codehaus.org/mojo/trunk/mojo/maven-native On 6/24/06, TimHedger <[EMAIL PROTECTED]> wrote: Dan - thanks again - almost there with what I'm trying to do. Two problems left - I haven't been able to bui

Re: Can't get jni working based on example configuration

2006-06-24 Thread TimHedger
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 n

Re: Can't get jni working based on example configuration

2006-06-23 Thread dan tran
Ok, I added javah -o support. You will need to get the latest source and build it your self since I am not able to deploy a snapshot to codehaus native-maven-plugin/src/it/jni/native/win32/pom.xml has the example configuration -Dan On 6/22/06, dan tran <[EMAIL PROTECTED]> wrote: see commen

Re: Can't get jni working based on example configuration

2006-06-22 Thread dan tran
see comments inline On 6/22/06, TimHedger <[EMAIL PROTECTED]> wrote: Thank you for the feedback so far. I've adopted the pom.xml changes you suggested. I'd love to look at the Solaris jni example - how do I get it? (i.e. how do I check out the jni example on solaris under native-maven-plugin

Re: Can't get jni working based on example configuration

2006-06-22 Thread TimHedger
Thank you for the feedback so far. I've adopted the pom.xml changes you suggested. I'd love to look at the Solaris jni example - how do I get it? (i.e. how do I check out the jni example on solaris under native-maven-plugin/src/it/jni?) The jni step runs, but I'm having problems with compilati

Re: Can't get jni working based on example configuration

2006-06-21 Thread dan tran
please check out the jni example on solaris under native-maven-plugin/src/it/jni On 6/21/06, dan tran <[EMAIL PROTECTED]> wrote: latest snapshot is at http://snapshots.repository.codehaus.org/ -D On 6/21/06, dan tran <[EMAIL PROTECTED]> wrote: > > also you dont need linkerSecondaryOutputE

Re: Can't get jni working based on example configuration

2006-06-21 Thread dan tran
latest snapshot is at http://snapshots.repository.codehaus.org/ -D On 6/21/06, dan tran <[EMAIL PROTECTED]> wrote: also you dont need linkerSecondaryOutputExtensions tag ( windows only ) -D On 6/21/06, dan tran <[EMAIL PROTECTED]> wrote: > > Your stacktrace is not long enough to find

Re: Can't get jni working based on example configuration

2006-06-21 Thread dan tran
also you dont need linkerSecondaryOutputExtensions tag ( windows only ) -D On 6/21/06, dan tran <[EMAIL PROTECTED]> wrote: Your stacktrace is not long enough to find out the exact cause. Also, your Solaris is wrong, it should be solaris -Dan On 6/21/06, TimHedger <[EMAIL PROTECTED]>

Re: Can't get jni working based on example configuration

2006-06-21 Thread dan tran
Your stacktrace is not long enough to find out the exact cause. Also, your Solaris is wrong, it should be solaris -Dan On 6/21/06, TimHedger <[EMAIL PROTECTED]> wrote: I'm trying to build using the mojo native plugin and to build a jni file from a compiled class. In my existing build pro

Can't get jni working based on example configuration

2006-06-21 Thread TimHedger
I'm trying to build using the mojo native plugin and to build a jni file from a compiled class. In my existing build process this is the command I use: /usr/java1.4.1_02_32/bin/javah -jni -classpath /home/hedgert/work/javautil/classes -o /home/hedgert/work/javautil/gen/rbos/fm/mktrisk/sql/BcpBas