Discussion:
[ANNOUNCE] Velocity Engine 2.0 RC6 test build available
Claude Brisson
2017-01-26 03:39:57 UTC
Permalink
A new test build of Velocity Engine 2.0 is available (RC6).

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-engine/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/orgapachevelocity-1016/

A vote regarding the quality of this test build will be initiated within
the next couple of days.

Release Candidates changelog:
RC1: initial candidate
RC2: bugfixes
RC3: review SLF4J Logger names (instead of a single logger named
"Velocity", have a hierarchy of loggers with a base of
'org.apache.velocity')
RC4: minor fixes
RC5:
* the default encoding is now UTF-8 (and not the platform default)
* commons-collections is not any more a compilation dependency
* commons-lang3 dependency is not any more shaded
* the configuration API doesn't reference ExtProperties
* the events API has been optimized and reviewed: all events do
receive the current Context
* there has been a few optimizations in ASTStringLiteral rendering
RC6: mostly code cleaning and build process optimization ; assembly
module has been dropped


Regards,

Claude
Michael Osipov
2017-01-26 13:11:10 UTC
Permalink
Post by Claude Brisson
A new test build of Velocity Engine 2.0 is available (RC6).
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.
*
https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.0/release-notes.html
* https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.0/
*
https://repository.apache.org/content/repositories/orgapachevelocity-1016/
A vote regarding the quality of this test build will be initiated within
the next couple of days.
Hi Claude,

first of all, great improvement. Just checked the diff and have a few
comments:

* Left a bunch of comments on the commits on GitHub, have a look
* StringUtils#EOL is never used
* StringUtils#normalizePath() can likely be replaced with Common IO's
FilenameUtils#normalize()
* StringUtils#nullTrim() can be replaced with Commons Lang's
StringUtils#trim()
* StringUtils#trimStrings() can be disposed altogether because it
iterates the list and it is iterated right after the call again. Use
StringUtils#trim() during the real iteration directly
* OSGi metadata are gone from Core, no Bundle-SymbolicName, no Exports,
everything is gone from MANIFEST.MF
* There are several spots where collections are iterated with a for loop
with a counter and #get(i) or a literal (legacy code). This should
generally be avoided. One example has been commented on GitHub.
* Terrific improvement on the JavaCC code generation!
Post by Claude Brisson
Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding.
Warning: Choice conflict in [...] construct at line 1325, column 21.
Expansion nested within construct and expansion following construct
have common prefixes, one of which is: <TEXT>
Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict in (...)* construct at line 2157, column 5.
Expansion nested within construct and expansion following construct
have common prefixes, one of which is: <WHITESPACE>
Consider using a lookahead of 2 or more for nested expansion.
Is this something one needs to take care of?


Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@velocity.apache.org
For additional commands, e-mail: user-***@velocity.apache.org

Loading...