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


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


Reply via email to