You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Heath Kesler (JIRA)" <ji...@apache.org> on 2012/08/20 00:30:38 UTC

[jira] [Commented] (KARAF-1549) Child instance features cfg file looks weird

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

Heath Kesler commented on KARAF-1549:
-------------------------------------

Hi Jean-Baptiste,

I looked into this, I assume the 'weird' part is the escaped (\) : in the mvn or is it just the layout?  The escaped character is because the code uses a java.util.properties object to write the feature file on create.  Properties.store will escape the : character in the value when writing it.  So even tho the property looks right before writing it 'mvn:org.apache......' , the store() will add it to look like 'mvn\:org.apache....'. 

I did update the code to add the repos and the obr configs.  But will wait for your feedback on the escaped character (if that is even the weird part) to attach the patch.

Thanks
Heath
                
> Child instance features cfg file looks weird
> --------------------------------------------
>
>                 Key: KARAF-1549
>                 URL: https://issues.apache.org/jira/browse/KARAF-1549
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature, karaf-instance
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> In a child instance, the etc/org.apache.karaf.features.cfg file looks weird, and completely different from the root instance:
> featuresBoot=config,ssh
> featuresRepositories=mvn\:org.apache.karaf.features/standard/3.0.0-SNAPSHOT/xml/features,mvn\:org.apache.karaf.features/enterprise/3.0.0-SNAPSHOT/xml/features
> More over, the etc/org.apache.karaf.features.obr.cfg and etc/org.apache.karaf.features.repos.cfg files are not present in the child instances, whereas they should be here.

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