You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/01/24 18:09:49 UTC

[jira] Updated: (VELOCITY-441) Provide class to be called from command-line to translate any file with special suffix.

     [ https://issues.apache.org/jira/browse/VELOCITY-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen updated VELOCITY-441:
--------------------------------------------

    Component/s: Engine

Well, it is engine'ish, so move it there and let's review it after the 1.5 release.

> Provide class to be called from command-line to translate any file with special suffix.
> ---------------------------------------------------------------------------------------
>
>                 Key: VELOCITY-441
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-441
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: WindowsXP
>            Reporter: Colbert Philippe
>         Attachments: Transformer.java
>
>
> 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" }.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org