You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/02/26 15:38:19 UTC

[jira] Updated: (MRM-1060) build problem because of use of jarsigner with a path with spaces

     [ http://jira.codehaus.org/browse/MRM-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1060:
------------------------------

    Fix Version/s: 1.2

this is a jarsigner bug, but we need to work around it in our build regardless

> build problem because of use of jarsigner with a path with spaces
> -----------------------------------------------------------------
>
>                 Key: MRM-1060
>                 URL: http://jira.codehaus.org/browse/MRM-1060
>             Project: Archiva
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.1.3
>         Environment: Windows XP Prof SP3 standalone installation of continuum for build
>            Reporter: Carsten Hammer
>            Priority: Minor
>             Fix For: 1.2
>
>
> This is the error that occures:
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Archiva Web :: Applet
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://DE254081:8080/archiva/repository/internal/org/codehaus/mojo/keytool-maven-plugin/1.0-beta-1/keytool-maven-plugin-1.0-beta-1.pom
> 2K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/codehaus/mojo/mojo/9/mojo-9.pom
> 5K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/codehaus/mojo/keytool-maven-plugin/1.0-beta-1/keytool-maven-plugin-1.0-beta-1.jar
> 11K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/plugins/maven-jar-plugin/2.1/maven-jar-plugin-2.1.pom
> 2K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/plugins/maven-jar-plugin/2.1/maven-jar-plugin-2.1.jar
> 18K downloaded
> [INFO] artifact org.codehaus.mojo:cobertura-maven-plugin: checking for updates from central
> Downloading: http://DE254081:8080/archiva/repository/internal/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom
> 5K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.jar
> 28K downloaded
> [INFO] [clean:clean]
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] Setting property: classpath.resource.loader.class =&gt; 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on =&gt; 'false'.
> [INFO] Setting property: resource.loader =&gt; 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound =&gt; 'false'.
> [INFO] [remote-resources:process {execution: default}]
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/maven-plugin-api/2.0-beta-3/maven-plugin-api-2.0-beta-3.pom
> 6K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.jar
> 168K downloaded
> [INFO] [keytool:clean {execution: default}]
> [WARNING] Keystore file 'C:\Program Files\apache-continuum-1.2.2\data\working-directory\82/target/keystore' doesn't exist.
> [INFO] [keytool:genkey {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to C:\Program Files\apache-continuum-1.2.2\data\working-directory\82\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/surefire/surefire-junit/2.4.2/surefire-junit-2.4.2.pom
> 1K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/surefire/surefire-providers/2.4.2/surefire-providers-2.4.2.pom
> 1K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/surefire/surefire-junit/2.4.2/surefire-junit-2.4.2.jar
> 14K downloaded
> [INFO] Surefire report directory: C:\Program Files\apache-continuum-1.2.2\data\working-directory\82\target\surefire-reports
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom
> 1K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom
> 1K downloaded
> Downloading: http://DE254081:8080/archiva/repository/internal/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
> 9K downloaded
> [INFO] [jar:jar]
> [INFO] Building jar: C:\Program Files\apache-continuum-1.2.2\data\working-directory\82\target\archiva-applet-1.2-SNAPSHOT.jar
> [INFO] [jar:sign {execution: default}]
> [debug] jarsigner executable=[C:\Program Files\Java\jdk1.5.0_11\jre\..\bin\jarsigner.exe]
> [debug] Executing: &quot;C:\Program Files\Java\jdk1.5.0_11\jre\..\bin\jarsigner.exe&quot; -verify &quot;C:\Program Files\apache-continuum-1.2.2\data\working-directory\82\target\archiva-applet-1.2-SNAPSHOT.jar&quot;
> [warn] Der Befehl &quot;C:\Program&quot; ist entweder falsch geschrieben oder
> [warn] konnte nicht gefunden werden.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Result of &quot;C:\Program Files\Java\jdk1.5.0_11\jre\..\bin\jarsigner.exe&quot; -verify &quot;C:\Program Files\apache-continuum-1.2.2\data\working-directory\82\target\archiva-applet-1.2-SNAPSHOT.jar&quot; execution is: '1'.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 37 seconds
> [INFO] Finished at: Wed Jan 07 11:26:27 CET 2009
> [INFO] Final Memory: 16M/29M
> [INFO] ------------------------------------------------------------------------
> It tries to execute "C:\Program" instead of  "C:\Program Files\Java\jdk1.5.0_11\jre\..\bin\jarsigner.exe" and this causes the signing to fail.
> Is this a problem of archiva or continuum or maven or something else?
> Best regards,
> Carsten 

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