felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-3173) Local OBR install failes when there is a space in the full path
Date Sun, 23 Oct 2011 20:20:32 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stuart McCulloch resolved FELIX-3173.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: maven-bundle-plugin-2.3.6
         Assignee: Stuart McCulloch

Fixed in r1187964, deployed new snapshot (2.4.0-20111023.202015-11)
                
> Local OBR install failes when there is a space in the full path
> ---------------------------------------------------------------
>
>                 Key: FELIX-3173
>                 URL: https://issues.apache.org/jira/browse/FELIX-3173
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_25
> Java home: C:\Program Files (x86)\Java\jdk1.6.0_25\jre
> Default locale: nl_NL, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"
>            Reporter: Bram de Kruijff
>            Assignee: Stuart McCulloch
>            Priority: Minor
>             Fix For: maven-bundle-plugin-2.3.6
>
>
> Testing with the 2.4.0-SNAPSHOT, 2.4.0-20111017.223737-10 to be exact, I get the following
error. Seems the local OBR install fails because it does not like the space in the path.
> {noformat}
> [WARNING] Exception while updating local OBR: java.net.URISyntaxException: Illegal character
in path at index 21: file:/C:/bramk/Apache Maven/local-repository/o
> rg/amdatu/core/org.amdatu.core.tenant/0.2.1-SNAPSHOT/org.amdatu.core.tenant-0.2.1-SNAPSHOT.jar
> java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at
index 21: file:/C:/bramk/Apache Maven/local-repository/org/amdatu/core/org
> .amdatu.core.tenant/0.2.1-SNAPSHOT/org.amdatu.core.tenant-0.2.1-SNAPSHOT.jar
>         at org.apache.felix.bundlerepository.impl.DataModelHelperImpl.createResource(DataModelHelperImpl.java:486)
>         at org.apache.felix.obrplugin.ObrUpdate.updateRepository(ObrUpdate.java:195)
>         at org.apache.felix.obrplugin.ObrInstall.updateLocalBundleMetadata(ObrInstall.java:184)
>         at org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:143)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>         at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.net.URISyntaxException: Illegal character in path at index 21: file:/C:/bramk/Apache
Maven/local-repository/org/amdatu/core/org.amdatu.core.tena
> nt/0.2.1-SNAPSHOT/org.amdatu.core.tenant-0.2.1-SNAPSHOT.jar
>         at java.net.URI$Parser.fail(URI.java:2809)
>         at java.net.URI$Parser.checkChars(URI.java:2982)
>         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>         at java.net.URI$Parser.parse(URI.java:3014)
>         at java.net.URI.<init>(URI.java:578)
>         at java.net.URL.toURI(URL.java:918)
>         at org.apache.felix.bundlerepository.impl.DataModelHelperImpl.createResource(DataModelHelperImpl.java:483)
>         ... 22 more
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message