rbauction / missing-link

Automatically exported from code.google.com/p/missing-link
0 stars 0 forks source link

Add property support to entity #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to be able to retrieve the contents of an entity from a 
property, e.g. <entity property="artifactory.build.info"/>.

I have implemented this in a local copy but as I have incorporated in the patch 
in issue 13, a patch would not be that short and sweet. Anyway, it is trivial 
to implement this.

Original issue reported on code.google.com by anders.j...@gmail.com on 16 Aug 2011 at 11:22

GoogleCodeExporter commented 9 years ago

Original comment by alex.she...@gmail.com on 18 Aug 2011 at 12:30

GoogleCodeExporter commented 9 years ago
Added a "value" attribute to the entity node, which takes precedence after the 
file parameter but before textual content nested inside <entity>..</entity>.  
This is a simple String property, ant takes care of expanding properties 
automatically in this scenario.  

Example:  value="Hello World" or value="${my.prop}"

Will be available in 1.1.3

Original comment by alex.she...@gmail.com on 18 Aug 2011 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by alex.she...@gmail.com on 19 Aug 2011 at 12:51