<project name="zapusk"default="main">
<target name="main">
<property name="p-name" value="p-value"/>
<echo message="The first entry: ${p-name}. The second entry: ${p-name}. The tail."/>
</target>
</project>
Refactor / rename p-name to a name of different length (e.g. "p-name-renamed"). The string with several property usages is destroyed:
<echo message="The first entry: ${p-name-renamed}. The second ep-name-renamed${p-name}. The tail."/>
Description
Get an ant script like:
<project name="zapusk"default="main">
<target name="main">
<property name="p-name" value="p-value"/>
<echo message="The first entry: ${p-name}. The second entry: ${p-name}. The tail."/>
</target>
</project>
Refactor / rename p-name to a name of different length (e.g. "p-name-renamed"). The string with several property usages is destroyed:
<echo message="The first entry: ${p-name-renamed}. The second ep-name-renamed${p-name}. The tail."/>