[
http://jira.codehaus.org/browse/MOJO-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112616
]
Pawel S. Veselov edited comment on MOJO-944 at 11/2/07 10:05 PM:
-----------------------------------------------------------------
The maven-native-api tests fail the same with 1.4.7...
IMHO, the course of actions should be:
- apply the fix for this bug on 1.0-alpha-3-snapshot, and realease, along with
other pending fixes, leaving on 1.4 plexus-utils
- apply the fix for plexus-utils on 1.4.8-snapshot
- when 1.4.8 utils released, fix the 'javah' tests (and possible some other
compiler tests, that will suffer from the same problem).
It's only the tests that are failing. The plexus-utils test only fails if
current directory has a directory with (dot)s in it. The javah tests only fail
because the command line change.
Thanks,
Pawel.
was:
The maven-native-api tests fail the same with 1.4.7...
> 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
> Attachments: 3.diff, 4.diff,
> org.codehaus.mojo.natives.compiler.CompilerUtilTest.txt
>
>
> 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