Uploaded image for project: 'Texen'
  1. Texen
  2. TEXEN-16

Allow any VelocityEngine. property to be configured via TexenTask

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0
    • None
    • None

    Description

      org.apache.velocity.runtime.RuntimeConstants contains ways to configure the VelocityEngine.

      The Texen Task 1.0 currently only supports the following constants:

      RuntimeConstants.FILE_RESOURCE_LOADER_PATH
      VelocityEngine.RESOURCE_LOADER,
      "classpath." + VelocityEngine.RESOURCE_LOADER + ".class"
      "classpath." + VelocityEngine.RESOURCE_LOADER + ".cache"
      "classpath." + VelocityEngine.RESOURCE_LOADER + ".modificationCheckInterval",
      RuntimeConstants.RUNTIME_LOG

      I'd like to be able to separate out my Velocimacros into individual files.
      But to do that I think I need to set VM_LIBRARY which I can not do through texen.

      Would it be possible to add a general purpose VelocityEngine option property to the TexenTask so that anything that needs to be configured can be?

      Attachments

        Activity

          People

            Unassigned Unassigned
            barrie Barrie Treloar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: