[ 
http://jira.codehaus.org/browse/MOJO-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112424
 ] 

Pawel S. Veselov commented on MOJO-944:
---------------------------------------

Ok, I had to re-compile JDK 1.5 for my OpenBSD, so this took some time.

Now, I'm only looking at maven since yesterday, so I hope I got this right. I 
didn't have to modify any descriptors, I assume the parameters are scanned from 
annotations. I added a test for this too, and the test seems to pass, I didn't 
set up a project to actually test the parameter. The svn diff is attached.

Now, I was struggling to get the API installed, as one of the tests was 
failing. It seems that the failure is actually in the plexus code, but I may be 
mistaken. I attached the test failure info to this bug as well. Let me know if 
I should open a separate one or whatever.

Thanks,
  Pawel.


> javah is not looked up in ${jdk.home}
> -------------------------------------
>
>                 Key: MOJO-944
>                 URL: http://jira.codehaus.org/browse/MOJO-944
>             Project: Mojo
>          Issue Type: Bug
>          Components: native
>         Environment: Linux
>            Reporter: Pawel S. Veselov
>
> When native:javah is executed, the "javah" path is used for the binary. Only 
> on MacOS, the ${jdk.home}/bin/javah is used.
> ${java.home} should be used at all times, because:
> a) One doesn't have to add JDK bin directory to current PATH
> b) The JDK directory in the path may not be the same that is used for Maven
> c) the javah binary in the path may not even be JavaH
> The trivial fix is to roll up 
> org.codehaus.mojo.natives.javah.JavahMacOSExecutable into 
> org.codehaus.mojo.natives.javah.JavahExecutable.
> Anyone knows how to make native pick up the MacOS executable as a workaround ?
> -- Pawel.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to