You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/08/03 11:08:15 UTC

[jira] Created: (FELIX-2513) Support richer format for configurations

Support richer format for configurations
----------------------------------------

                 Key: FELIX-2513
                 URL: https://issues.apache.org/jira/browse/FELIX-2513
             Project: Felix
          Issue Type: New Feature
          Components: File Install
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
         Attachments: config.patch

The current format read by file install for configurations uses the java.util.Properties - this format does not support multi values and objects other than strings.
As configurations usually use other types than string, it would be nice to support the richer format like for example the config admin implementation uses.

To be compatible, I suggest we leave the old behaviour for ".cfg" files and use a new extension ".config" for the other format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-2513) Support richer format for configurations

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved FELIX-2513.
-------------------------------------

    Fix Version/s: fileinstall-3.1.0
       Resolution: Fixed

Applied a modified patch which just embedds the configuration handler from the latest config admin release in revision 982991

> Support richer format for configurations
> ----------------------------------------
>
>                 Key: FELIX-2513
>                 URL: https://issues.apache.org/jira/browse/FELIX-2513
>             Project: Felix
>          Issue Type: New Feature
>          Components: File Install
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: fileinstall-3.1.0
>
>         Attachments: config.patch
>
>
> The current format read by file install for configurations uses the java.util.Properties - this format does not support multi values and objects other than strings.
> As configurations usually use other types than string, it would be nice to support the richer format like for example the config admin implementation uses.
> To be compatible, I suggest we leave the old behaviour for ".cfg" files and use a new extension ".config" for the other format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2513) Support richer format for configurations

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894852#action_12894852 ] 

Felix Meschberger commented on FELIX-2513:
------------------------------------------

Is it not possible to just embed the file reader class from the Configuration Admin bundle ?

> Support richer format for configurations
> ----------------------------------------
>
>                 Key: FELIX-2513
>                 URL: https://issues.apache.org/jira/browse/FELIX-2513
>             Project: Felix
>          Issue Type: New Feature
>          Components: File Install
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>         Attachments: config.patch
>
>
> The current format read by file install for configurations uses the java.util.Properties - this format does not support multi values and objects other than strings.
> As configurations usually use other types than string, it would be nice to support the richer format like for example the config admin implementation uses.
> To be compatible, I suggest we leave the old behaviour for ".cfg" files and use a new extension ".config" for the other format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2513) Support richer format for configurations

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894851#action_12894851 ] 

Carsten Ziegeler commented on FELIX-2513:
-----------------------------------------

I've attached a potential fix for this new feature

> Support richer format for configurations
> ----------------------------------------
>
>                 Key: FELIX-2513
>                 URL: https://issues.apache.org/jira/browse/FELIX-2513
>             Project: Felix
>          Issue Type: New Feature
>          Components: File Install
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>         Attachments: config.patch
>
>
> The current format read by file install for configurations uses the java.util.Properties - this format does not support multi values and objects other than strings.
> As configurations usually use other types than string, it would be nice to support the richer format like for example the config admin implementation uses.
> To be compatible, I suggest we leave the old behaviour for ".cfg" files and use a new extension ".config" for the other format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-2513) Support richer format for configurations

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated FELIX-2513:
------------------------------------

    Attachment: config.patch

> Support richer format for configurations
> ----------------------------------------
>
>                 Key: FELIX-2513
>                 URL: https://issues.apache.org/jira/browse/FELIX-2513
>             Project: Felix
>          Issue Type: New Feature
>          Components: File Install
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>         Attachments: config.patch
>
>
> The current format read by file install for configurations uses the java.util.Properties - this format does not support multi values and objects other than strings.
> As configurations usually use other types than string, it would be nice to support the richer format like for example the config admin implementation uses.
> To be compatible, I suggest we leave the old behaviour for ".cfg" files and use a new extension ".config" for the other format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2513) Support richer format for configurations

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894857#action_12894857 ] 

Carsten Ziegeler commented on FELIX-2513:
-----------------------------------------

That should be possible, it's basically just a copy with all write operations removed.

> Support richer format for configurations
> ----------------------------------------
>
>                 Key: FELIX-2513
>                 URL: https://issues.apache.org/jira/browse/FELIX-2513
>             Project: Felix
>          Issue Type: New Feature
>          Components: File Install
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>         Attachments: config.patch
>
>
> The current format read by file install for configurations uses the java.util.Properties - this format does not support multi values and objects other than strings.
> As configurations usually use other types than string, it would be nice to support the richer format like for example the config admin implementation uses.
> To be compatible, I suggest we leave the old behaviour for ".cfg" files and use a new extension ".config" for the other format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.