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

Possibly wrong explanation in doc: "Templates may live in subdirectories"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.4
    • None
    • Build
    • None
    • Operating System: Windows 2000
      Platform: PC
    • 34916

    Description

      In developer guide located at http://jakarta.apache.org/velocity/developer-
      guide.html, explanation regarding with "<name>.resource.loader.path"
      says "Templates may live in subdirectories of this root."

      Following this guidance, I created a subdirectory within root directroy which
      is set with "file.resource.loader.path" in velocity.properties. Then put
      mytemplate.vm file in subdirectory. After I ran my application, Velocity threw
      a ResourceNotFoundException. When I put mytemplate.vm into root directory, it
      works fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            as_kumlali@yahoo.com Ali Sadik Kumlali
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: