[
http://jira.codehaus.org/browse/MOJO-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242195#action_242195
]
Andrew Swan commented on MOJO-1526:
-----------------------------------
Please ignore my previous comment; I've since created and tested a one-line
patch (attached below) that fixes the problem on Windows at least. I haven't
tested it on any other OSes, but I'm guessing that a large proportion of the
people creating installers for Windows will be doing so on Windows, so this
patch should at least help those people.
> mvn nsis:compile doesn't work if target file is in a path with spaces
> ---------------------------------------------------------------------
>
> Key: MOJO-1526
> URL: http://jira.codehaus.org/browse/MOJO-1526
> Project: Mojo
> Issue Type: Bug
> Components: nsis
> Environment: Windows xp
> Reporter: Horaci Macias
> Priority: Minor
> Attachments: Fix Spaced Projects.patch
>
>
> I'm trying to run mvn nsis:compile on a directory with spaces in the path and
> I get the following error:
> [DEBUG] commands [makensis, /XOutFile D:\Documents and
> Settings\hmacias\workspace\MyProject\target\MyProject.exe
> , /V2, setup.nsi]
> [INFO] [MAKENSIS] MakeNSIS v2.45 - Copyright 1995-2009 Contributors
> [INFO] [MAKENSIS] See the file COPYING for license details.
> [INFO] [MAKENSIS] Credits can be found in the Users Manual.
> [INFO] [MAKENSIS]
> [INFO] [MAKENSIS] OutFile expects 1 parameters, got 3.
> [INFO] [MAKENSIS] Usage: OutFile install_output.exe
> perhaps just adding quotes around the filename (in NsisCompileMojo.java)
> fixes this.
> Other than that, is there any way to manually specify the XOutFile to be used?
--
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