Stanbol
  1. Stanbol
  2. STANBOL-103

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

    Details

      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?

        Activity

        Fabian Christ made changes -
        Component/s Reasoners [ 12315104 ]
        Component/s KReS [ 12313889 ]
        Fabian Christ made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Fabian Christ made changes -
        Fix Version/s 0.9.0-incubating [ 12317604 ]
        Fabian Christ made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fabian Christ made changes -
        Component/s Enhancer [ 12313888 ]
        Component/s Entity Hub [ 12313890 ]
        Component/s KReS [ 12313889 ]
        Olivier Grisel made changes -
        Field Original Value New Value
        Description 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?
        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?
        Olivier Grisel created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Olivier Grisel
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development