Trying to invoke javah using the maven-native-plugin it doesn't handle
the fact that the path to javah has spaces in it. i assume spaces in
other parts of the arguments might also cause problems as well.

[INFO] "C:\Program Files\java\jdk1.5.0_03\jre\..\bin\javah.exe" -d [snip].....
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

i believe you need to use the quoteArgument method to add quotes if
they are needed around the string before calling setValue on the
argument.

--
Dale King

Reply via email to