DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21721>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21721

Provide local "properties" within a target





------- Additional Comments From [EMAIL PROTECTED]  2003-07-21 07:54 -------
I´m not sure whether I understand you right.

If you want to have a kind of variables: this will be refused. Conor had 
written some words to that on the user list: http://marc.theaimsgroup.com/?
l=ant-user&m=105876133024012&w=2

If you want to have the ability to use the same property name inside a target 
which is called multiple times - you have that already:

<target name="main">
    <antcall target="do"><param name="text" value="one"/></antcall>
    <antcall target="do"><param name="text" value="two"/></antcall>
</target>
<target name="do">
    <echo>${text}</echo>
</target>

This example will output "one" and "two". As you can see, ${text} is used 
multiple (twice) times.

You can use other properties, too:

<target name="do">
    <property name="text2" value="${text}"/>
    <echo>${text2}</echo>
</target>

This will do the same, but using a property which is set in the called target.



If you want another thing I need more infos ...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to