[ http://jira.codehaus.org/browse/MOJO-351?page=all ]
Dan Tran reassigned MOJO-351:
-----------------------------
Assign To: Dan Tran
> maven-native-plugin not handling spaces in paths
> ------------------------------------------------
>
> Key: MOJO-351
> URL: http://jira.codehaus.org/browse/MOJO-351
> Project: Mojo
> Type: Bug
> Components: native
> Versions: 1.0
> Environment: Windows XP
> Reporter: Dale King
> Assignee: Dan Tran
>
>
> 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.
--
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