[
https://issues.apache.org/jira/browse/VELOCITY-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nathan Bubna updated VELOCITY-441:
----------------------------------
I think this (and VELOCITY-442, of course) are a better fit for Texen than the
VelocityEngine.
I'm also still hoping that we can pull Texen (and Anakia) out of Engine and put
them in their own projects. I have some needs soon approaching for which an
improved Texen (with things like this) would be quite handy. I'd love to be
able to deprecate it in Engine and release an independent Texen before (or
otherwise apart from) Velocity 1.6.
After Velocity 1.5 is out, expect me to push for creating a Texen project and
dragging ideas like this one into it.
If you really feel strongly that this belongs in Engine, i'll change it back,
until we've discussed it. I'm just betting you don't feel that strongly and
moving it before asking. :-)
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]