bodewig 2004/04/23 07:26:47
Modified: docs/manual/OptionalTasks scriptdef.html
Log:
Make attribute und element names in <scriptdef> lowercase (like <macrodef> does)
to avoid problems with name="Foo" -> the task X doesn\'t support the attribute foo
Revision Changes Path
1.5 +5 -0 ant/docs/manual/OptionalTasks/scriptdef.html
Index: scriptdef.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/OptionalTasks/scriptdef.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scriptdef.html 16 Feb 2004 04:37:24 -0000 1.4
+++ scriptdef.html 23 Apr 2004 14:26:47 -0000 1.5
@@ -36,6 +36,11 @@
The instances in this list may be accessed by an integer index.
</p>
+<p><b>Note:</b> Ant will turn all attribute and element names into all
+lowercase names, so even if you use name="SomeAttribute", you'll have
+to use "someattribute" to retrieve the attribute's value from the
+<code>attributes</code> collection.</p>
+
<p>The name "project" is a pre-defined reference to the Ant Project. For
more information on writing scripts, please refer to the
<a href="script.html"><script></a> task
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|