velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject Re: [ANNOUNCE] Velocity Engine 2.0 test build available
Date Tue, 08 Nov 2016 12:13:10 GMT
Seems to be working OK.  Thanks.

For the ResourceLoader changes I have been doing this :

public  InputStream getResourceStream(String name)....

return result = servletContext.getResourceAsStream(path);

but now must use :

public Reader getResourceReader(String name, String encoding)....

return result = new BufferedReader(new InputStreamReader(
                            servletContext.getResourceAsStream(path)));

Is this the most efficient way to the Reader class?  Seems a lot more
processing than just the InputStream??





On 7 November 2016 at 10:06, Claude Brisson <claude@renegat.net> wrote:

> The test build of Velocity Engine 2.0 is available.
>
> No determination as to the quality ('alpha,' 'beta,' or 'GA') of Velocity
> Engine 2.0 has been made, and at this time it is simply a "test build". We
> welcome any comments you may have, and will take all feedback into account
> if a quality vote is called for this build.
>
> Release notes:
>
> * https://dist.apache.org/repos/dist/dev/velocity/velocity-eng
> ine/2.0/release-notes.html
>
> Distribution:
>
>  * https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.0/
>
> Maven 2 staging repository:
>
>  * https://repository.apache.org/content/repositories/orgapache
> velocity-1010/
>
> A vote regarding the quality of this test build will be initiated within
> the next couple of days.
>
>
> Regards,
>
>   Claude
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message