[ http://jira.codehaus.org/browse/MOJO-351?page=comments#action_62251 ]
Dan Tran commented on MOJO-351: ------------------------------- sorry I am NOT able to reproduce the problem > 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 > 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
