karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-778) karaf does not work properly with spaces in the working directory path
Date Wed, 27 Jul 2011 13:11:10 GMT

    [ https://issues.apache.org/jira/browse/KARAF-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071708#comment-13071708
] 

Andreas Pieber commented on KARAF-778:
--------------------------------------

ok, the base problem is located in pax-url. I've already located and fixed the problem. I'll
create the issue at pax-url, release it and upgrade Karaf. Integration tests still fail in
the folder. I'm looking into it

> karaf does not work properly with spaces in the working directory path
> ----------------------------------------------------------------------
>
>                 Key: KARAF-778
>                 URL: https://issues.apache.org/jira/browse/KARAF-778
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.2
>         Environment: Windows XP (Virtualbox) with sun-java "1.6.0_24" and Ubuntu 11.04
with sun-java "1.6.0_26"
>            Reporter: Christoph Gritschenberger
>            Assignee: Andreas Pieber
>            Priority: Blocker
>
> * Create two directories: "nospace" and "with space" (and make sure the path does not
contain any other spaces)
> * download karaf-2.2.2 and extract a copy into each directory.
> * executing nospace/karaf/bin/karaf works just fine
> {code}
> karaf@root> features:listurl
>  Loaded   URI
>   true    mvn:org.apache.karaf.assemblies.features/standard/2.2.2/xml/features
>   true    mvn:org.apache.karaf.assemblies.features/enterprise/2.2.2/xml/features
> {code}
> * executing with space/karaf/bin/karaf does not work
> {code}
> karaf@root> features:listurl
>  Loaded   URI
> No repository URLs are set.
> {code}
> It seems that the featres.cfg is not read at all when the path contains a space.
> Adding a URI manually also does not work:
> {code}
> karaf@root> features:addurl mvn:org.apache.karaf.assemblies.features/standard/2.
> 2.2/xml/features
> Could not add Feature Repository:
> java.net.MalformedURLException: Illegal character in path at index 31: file:/home/christophg/test/with
space/apache-karaf-2.2.2/system/
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message