You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Olivier Grisel (JIRA)" <ji...@apache.org> on 2011/02/23 11:14:38 UTC

[jira] Created: (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

Make OSGi properties display human readable name in the Felix system console
----------------------------------------------------------------------------

                 Key: STANBOL-103
                 URL: https://issues.apache.org/jira/browse/STANBOL-103
             Project: Stanbol
          Issue Type: Bug
            Reporter: Olivier Grisel
            Priority: Minor


Most stanbol components use the @Property annotation to declare configurable fields. E.g.:

{code}
    @Property
    public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
{code}

However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?


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

        

[jira] Commented: (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STANBOL-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998292#comment-12998292 ] 

Bertrand Delacretaz commented on STANBOL-103:
---------------------------------------------

This is done via OSGi metatype, see for example http://svn.apache.org/repos/asf/sling/trunk/bundles/engine :

src/main/java/org/apache/sling/engine/impl/SlingMainServlet.java has
@Component(immediate = true, metatype = true...

and ./src/main/resources/OSGI-INF/metatype/metatype.properties defines the user-friendly names.



> Make OSGi properties display human readable name in the Felix system console
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-103
>                 URL: https://issues.apache.org/jira/browse/STANBOL-103
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Olivier Grisel
>            Priority: Minor
>
> Most stanbol components use the @Property annotation to declare configurable fields. E.g.:
>     @Property
>     public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
> However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?

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

        

[jira] Commented: (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

Posted by "Rupert Westenthaler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STANBOL-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999437#comment-12999437 ] 

Rupert Westenthaler commented on STANBOL-103:
---------------------------------------------

Do you mean "adding the metatype.properties" or "changing the naming conversions"? 

> Make OSGi properties display human readable name in the Felix system console
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-103
>                 URL: https://issues.apache.org/jira/browse/STANBOL-103
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Olivier Grisel
>            Priority: Minor
>
> Most stanbol components use the @Property annotation to declare configurable fields. E.g.:
>     @Property
>     public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
> However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?

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

        

[jira] Updated: (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

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

Olivier Grisel updated STANBOL-103:
-----------------------------------

    Description: 
Most stanbol components use the @Property annotation to declare configurable fields. E.g.:

    @Property
    public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";

However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?


  was:
Most stanbol components use the @Property annotation to declare configurable fields. E.g.:

{code}
    @Property
    public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
{code}

However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?



> Make OSGi properties display human readable name in the Felix system console
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-103
>                 URL: https://issues.apache.org/jira/browse/STANBOL-103
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Olivier Grisel
>            Priority: Minor
>
> Most stanbol components use the @Property annotation to declare configurable fields. E.g.:
>     @Property
>     public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
> However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?

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

        

[jira] Commented: (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STANBOL-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998434#comment-12998434 ] 

Olivier Grisel commented on STANBOL-103:
----------------------------------------

Ok thanks for the info. I have updated the NamedEntityExtractionEnhancementEngine component to use the same naming conventions as sling (a bit shorter that the fully qualified names) in svn revision 1073812.

All the the other Stanbol components need an update. When working on this please add comment to this issue to track the progress.

> Make OSGi properties display human readable name in the Felix system console
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-103
>                 URL: https://issues.apache.org/jira/browse/STANBOL-103
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Olivier Grisel
>            Priority: Minor
>
> Most stanbol components use the @Property annotation to declare configurable fields. E.g.:
>     @Property
>     public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
> However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?

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

        

[jira] [Resolved] (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

Posted by "Fabian Christ (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STANBOL-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Christ resolved STANBOL-103.
-----------------------------------

    Resolution: Fixed

All components should now have readable names.
                
> Make OSGi properties display human readable name in the Felix system console
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-103
>                 URL: https://issues.apache.org/jira/browse/STANBOL-103
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Enhancer, Entity Hub, KReS
>            Reporter: Olivier Grisel
>            Priority: Minor
>
> Most stanbol components use the @Property annotation to declare configurable fields. E.g.:
>     @Property
>     public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
> However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?

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

        

[jira] Commented: (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STANBOL-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999438#comment-12999438 ] 

Olivier Grisel commented on STANBOL-103:
----------------------------------------

I meant "adding the metatype.properties".

> Make OSGi properties display human readable name in the Felix system console
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-103
>                 URL: https://issues.apache.org/jira/browse/STANBOL-103
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Olivier Grisel
>            Priority: Minor
>
> Most stanbol components use the @Property annotation to declare configurable fields. E.g.:
>     @Property
>     public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
> However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?

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

        

[jira] [Updated] (STANBOL-103) Make OSGi properties display human readable name in the Felix system console

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

Fabian Christ updated STANBOL-103:
----------------------------------

    Component/s: KReS
                 Entity Hub
                 Enhancer

> Make OSGi properties display human readable name in the Felix system console
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-103
>                 URL: https://issues.apache.org/jira/browse/STANBOL-103
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Enhancer, Entity Hub, KReS
>            Reporter: Olivier Grisel
>            Priority: Minor
>
> Most stanbol components use the @Property annotation to declare configurable fields. E.g.:
>     @Property
>     public static final String MODELS_PATH = "org.apache.stanbol.enhancer.engines.opennlp.models.path";
> However the qualified names such as the above are very user-unfriendly. What is the recommended way to have both friendly user facing labels while keeping qualified names as property ids?

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