Ant property with multiple values each on separate line -
i have property has contain long list of strings , improve readability define each value (that quite long) in separate line, like:
<property name="items" separator=","> <item>a</item> <item>b</item> </property>
as equivalent to
<property name="items" value="a,b" />
or similar <path>
+ <pathconvert>
not expanding paths.
is possible ?
turns out there string resources , generic resource container:
<resources id="items"> <string>a</string> <string>b</string> </resources> <pathconvert property="items" refid="items" pathsep="," />
Comments
Post a Comment