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

Provide class to be called from command-line to translate any file with special suffix.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      WindowsXP

      Description

      This is a simple but important feature to have. To standadize the use of Velocity, provide a class that can be called from the command-line that will do the translation from *.vm ---> final-file. The class will look for any file that has one of the special suffixes (specified by as parameters) and will translate it.

      The name convention for the translation would like this that:
      someFileName.velocity ---> someFileName
      someFileName.vm ---> someFileName

      Example:
      myFile.html.velocity ---> myFile.html

      The user would specify the list of suffixes as parameter in Java (like String[] suffixes =

      { ".velocity", ".vm" }

      .

        Attachments

        1. Transformer.java
          14 kB
          Christoph Reck

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              colbert_philippe Colbert Philippe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: