Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      Windows XP, Eclipse 3.3, Java 5

      Description

      see Velocity JavaDoc:
      http://velocity.apache.org/engine/devel/apidocs/org/apache/velocity/runtime/resource/loader/StringResourceLoader.html

      The line
      string.resource.loader.repository.class = org.apache.velocity.runtime.resource.loader.StringResourceRepositoryImpl
      is in my opinion wrong.
      It must be something like this:
      p.setProperty("string." + Velocity.RESOURCE_LOADER + ".repository.class", "org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl");

      util instead of loader !!

      My problem is that I want to use Velocity with two files in a JAR and one file that can be anywhere in the file system. The latter is really hard to solve. So I read the file and use the StringResourceLoader.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3h 18m 1 Nathan Bubna 14/Oct/09 22:51
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551626 ] jira [ 12552245 ]
        Mark Thomas made changes -
        Workflow jira [ 12479466 ] Default workflow, editable Closed status [ 12551626 ]
        Nathan Bubna made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7 [ 12313453 ]
        Resolution Fixed [ 1 ]
        Marcus Warm created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcus Warm
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development