Hi guys
Just wanted you to know that, in OW2, we have a substitution engine
(called interpolator in commons-lang) that handles property substitution
nicely.
Syntax of the property is configurable (${} / #[] / ...), tree based
property resolution (${hello.${me}}), recursive substitution (if a
resolved property value contains another property) are supported...
It's also easily extensible (you can bind a resolver to any source).
Let me know if you want more informations...
The module source:
http://websvn.ow2.org/listing.php?repname=easybeans&path=%2Ftrunk%2Futi…
Usage example:
http://websvn.ow2.org/filedetails.php?repname=easybeans&
path=%2Ftrunk%2Futil%2Fmodules%2Fsubstitution%2Fsrc%2Ftest%2Fjava%2Forg%2Fow2%2Futil%2Fsubstitution%2Ftest%2FDefaultSubstitutionEngineTestCase.java
--Guillaume
Le 20/04/2010 17:35, Thomas Mortagne a écrit :
macro "document" field description.