why are you sending the same message within 10mins? ;-)

On 9/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hello all,
I am trying to build native classes with maven2 but there is an issue when
calling javah.

The things should happen in the following order:

   i) Build the java source classes that have calls to JNI.
  ii) Dump the class files into target/classes
iii) Using the "native-maven-plugin" call "javah" to generate the header
files. This needs the just compiled classes in target/classes in the
classpath
  iv) Compile the C source files and create the library.

The problem is that the compiled classes are not available in the
classpath
when javah is called. Is there a way to do this using only the
native-maven-plugin?

Particularly, how can I change the classpath when runnig the
native-maven-plugin so that the javah gets called with -classpath
${maven.dependency.classpath}:${project.build.directory}/classes ?

Thanks.

--
Luís Soares


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


Reply via email to