You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jerome Lacoste (JIRA)" <ji...@codehaus.org> on 2007/08/25 21:50:47 UTC

[jira] Commented: (MJAR-49) Jarsigner fails on windows due to spaces in pathnames

    [ http://jira.codehaus.org/browse/MJAR-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105694 ] 

Jerome Lacoste commented on MJAR-49:
------------------------------------

I believe that Brett's last comment is no longer valid starting from maven 2.0.6.

We could bump the plexus utils version  to at least 1.4.2 to make sure this is fixed. (there was a regression between I think 1.2 and 1.4.1).

> Jarsigner fails on windows due to spaces in pathnames
> -----------------------------------------------------
>
>                 Key: MJAR-49
>                 URL: http://jira.codehaus.org/browse/MJAR-49
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Windows XP
>            Reporter: Jon Tayler
>         Attachments: pathproblem.txt
>
>
> This is a problem uncovered while running the latest (1.0-20060307.100605-1) version of the webstart plugin, which uses the jar plugin to sign jars.  During the signing stage maven fails with 
> [debug] jarsigner executable=[C:\Program Files\Java\jdk1.5.0_06\jre\..\bin\jarsigner.exe]
> [debug] Signing JAR in-place (overwritting original JAR).
> [warn] 'C:\Program' is not recognized as an internal or external command,
> [warn] operable program or batch file.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Result of "C:\Program Files\Java\jdk1.5.0_06\jre\..\bin\jarsigner.exe" -verbose -keystore "C:\Documents and Settings\jdt\.keystore" -storepass ****** -keypass ****** E:\jdt\data\workspace\tabview\tabview-webstart\target\jnlp\commons-logging-1.0.3.jar roe execution is: '1'.
> [INFO] ------------------------------------------------------------------------
> (full trace is attached).
> It looks as though the plexus utils classes are tokenizing the path to the jarsigner executable wrongly due to it containing spaces.

-- 
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