Velocity
  1. Velocity
  2. VELOCITY-154

[PATCH] Relative resource loading for #include and #parse

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      This little patch allows one to do

      #parse("foo.vm")

      where foo.vm is located in the same directory as the template containing the
      #parse directive.

      It is independant from the resource loader (and shouldn't impact loaders that
      don't use path) : the only modified files are Parse.java and Include.java.

      CloD

        Activity

        Claude Brisson created issue -
        Jeff Turner made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 18072 12315024
        Will Glass-Husain made changes -
        Assignee Velocity-Dev List [ velocity-dev@jakarta.apache.org ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5 [ 12310253 ]
        Resolution Fixed [ 1 ]
        Henning Schmiedehausen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12325029 ] Default workflow, editable Closed status [ 12551895 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551895 ] jira [ 12552680 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Claude Brisson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development