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=18484>.
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=18484

Please add parameters into <script> task.





------- Additional Comments From [EMAIL PROTECTED]  2003-04-03 18:06 -------
It would be nice if the <script> task where to accept <param> and <refid>
attributes whose name define a variable available directly in the script.

Today you can get do the same thing using something like:

   <antcall target="scriptdef">
     <param name="var1" value="...."/>
   </antcall>

   <target name="scriptdef">
     <script>
        println(var1);
     </script>
   </target>

Yes properties with names that match java identifiers are readily available
to the script as variables. Same for references.

The only problem is that given inmutability it is dificult to reuse a script
library.

Reply via email to