Velocity
  1. Velocity
  2. VELOCITY-412

Enable access to application attributes

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None

      Description

      Enable the getting of application attributes held by the RuntimeInstance.

      Currently you can set application attributes through the RuntimeServices interface, but you cannot get them.

      When Click starts up it initialises a custom Logger with Velocity and sets the logging level to INFO which produces useful initialisation debug information.

      Once initialisation has been completed it Click needs to turn down the Logger level to WARN, so that Velocity resource loading messages are not displayed.

      Please see the attached patches.

      regards Malcolm Edgar

      1. RuntimeServices_patch.txt
        0.8 kB
        Malcolm Edgar
      2. VelocityEngine_patch.txt
        1 kB
        Malcolm Edgar

        Activity

        Malcolm Edgar created issue -
        Malcolm Edgar made changes -
        Field Original Value New Value
        Attachment VelocityEngine_patch.txt [ 12314947 ]
        Malcolm Edgar made changes -
        Attachment RuntimeServices_patch.txt [ 12314948 ]
        Hide
        Will Glass-Husain added a comment -

        Looks good. I''ll commit this for 1.5.

        By the way, if you use "svn diff" to get the patch file you can generate one file that contains everything. It also includes any new files.

        Show
        Will Glass-Husain added a comment - Looks good. I''ll commit this for 1.5. By the way, if you use "svn diff" to get the patch file you can generate one file that contains everything. It also includes any new files.
        Hide
        Will Glass-Husain added a comment -

        Patch applied. Thanks!

        Show
        Will Glass-Husain added a comment - Patch applied. Thanks!
        Will Glass-Husain made changes -
        Fix Version/s 1.5 [ 12310253 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Henning Schmiedehausen added a comment -

        Close all resolved issues for Engine 1.5 release.

        Show
        Henning Schmiedehausen added a comment - Close all resolved issues for Engine 1.5 release.
        Henning Schmiedehausen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12331278 ] Default workflow, editable Closed status [ 12551937 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551937 ] jira [ 12552320 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Malcolm Edgar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development