Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-154

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

    Details

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

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              claude@savoirweb.com Claude Brisson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: