There are two use cases that I have for this issue:
1) We need to turn off #include in order to parse .html files that include SSI directives: <!-
#include virtual=""-> (we always use #parse in our world, so no loss for #include going away)
2) We need to supply our own version of #parse that contains the development hooks that I described in a different issue.
Right now, the only crisp way to do is is to crack open the velocity .jar and make these changes, which is very risky, because future developers may upgrade to new versions of Velocity and not realize that there are customizations and/or not understand how to remake them....not to mention in a shared-classpath environment, we don't always have control over which copy of the Velocity .jar we're using.
Ideally, there would be config options like this:
directive_remove ("#parse", "#include")
directive_add ("#parse", "com.qwest.velocity.directives.Parse")
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||1.7 [ 12313453 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12481389 ]||Default workflow, editable Closed status [ 12551650 ]|
|Workflow||Default workflow, editable Closed status [ 12551650 ]||jira [ 12552528 ]|