ANT supports string substitution by using properties. For example, if you have a property
Then you can use the property key in the XML script
This will be resolve in runtime as text = abc.
GumTree provides similar functionality via org.gumtree.core.util.PropertiesHelper. The constrain on this is it only fetch property value from the system properties (additional application properties are preloaded by org.gumtree.configurator during application startup). To use this feature, simply refactor your corresponding model setter method from
to
Labels:
