Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
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" }.