I put another velocity-0.8.jar in whiteboard/geir. The only real
difference, I think, is that I added a switch to turn on the VM-local
context feature. That switch is :
velocimacro.context.localscope
and in the jar in whiteboard, it is turned on -> the current default is
true.
Note well that this is different than the current vel.jar from the
current CVS, where it is effectively false.
This functionality is simply that setting a reference in a VM that isn't
an argument to the VM will be kept 'private' to the VM, not affecting
the global context (or the local context of other VMs).
Our tested wasn't affected by this, and I suspect that this will be the
desired behavior rather than not, but that's something we should
discuss. When doing more testing of the VMs, I found this a very
desireable feature.
This switch is on only for convenience of testing, and I will make
permanent whatever we decide. (Do don't document this yet, John Castura
:)
Now, the only person I know that has tested this a little is Jason (he
reports all well). If anyone else has, i would love to hear about it.
If nothing ugly comes up, I will check in the code tomorrow or this
weekend.
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity