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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development