You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by cb...@apache.org on 2019/08/16 17:47:52 UTC
svn commit: r1865327 -
/velocity/engine/branches/parser_experiments/velocity-custom-parser-example/pom.xml
Author: cbrisson
Date: Fri Aug 16 17:47:52 2019
New Revision: 1865327
URL: http://svn.apache.org/viewvc?rev=1865327&view=rev
Log:
[engine][VELOCITY-917] Review documentation in pom.xml
Modified:
velocity/engine/branches/parser_experiments/velocity-custom-parser-example/pom.xml
Modified: velocity/engine/branches/parser_experiments/velocity-custom-parser-example/pom.xml
URL: http://svn.apache.org/viewvc/velocity/engine/branches/parser_experiments/velocity-custom-parser-example/pom.xml?rev=1865327&r1=1865326&r2=1865327&view=diff
==============================================================================
--- velocity/engine/branches/parser_experiments/velocity-custom-parser-example/pom.xml (original)
+++ velocity/engine/branches/parser_experiments/velocity-custom-parser-example/pom.xml Fri Aug 16 17:47:52 2019
@@ -38,14 +38,11 @@
The proposed custom parser replaces '#' with '@' and '@' with '%'
so that it's suitable to use with Markdown template files, for instance.
- The generated parser class is org.apache.velocity.runtime.parser.${parser.basename}Parser,
+ The generated parser class is ${parser.package}.${parser.basename}Parser,
and must be specified at runtime using the Velocity property parser.class:
- parser.class = org.apache.velocity.runtime.parser.MyCustomParser
+ parser.class = foo.bar.MyCustomParser
- Please note that:
-
- + all configurable chars must be specified, even when similar to default ones.
- + custom parser package **must** be org.apache.velocity.runtime.parser
+ Please note that all configurable chars (*, @, $, #) must be specified, even when similar to default ones.
-->
<properties>