[ 
http://jira.codehaus.org/browse/MOJO-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=218743#action_218743
 ] 

Horaci Macias commented on MOJO-1526:
-------------------------------------

actually just realized this isn't really a major priority bug. Nice to have but 
not that major, specially if there is a way to specify the outputFile:

 <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>nsis-maven-plugin</artifactId>
         <version>1.0-SNAPSHOT</version>
         <configuration>
                 <outputFile>d:\testing.exe</outputFile>
         </configuration>
         <executions>
         <execution>
             <goals>
                <goal>generate-project</goal> <!-- create target/project.nsh -->
                <goal>compile</goal>          <!-- compile setup.nsi into exe 
-->
            </goals>
         </execution>
         </executions>
 </plugin>

> 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