On Friday 22 March 2002 15:59 pm, Stefano Mancarella wrote: > The <ant> task uses <property> for nested elements, while the <antcall> > task uses <param> (at least in Ant 1.4.1). > Is there a particular reason for this? Shouldn't the two tasks be > consistent?
parameters and properties are, technically, different things. Yeah, they are conceptually very similar, but they aren't the same. Parameters set properties. Properties do not set parameters. In a call to <antcall>, you are "passing it parameters", as you would when calling a function in any programming language. When running the Ant task, you are setting properties to be used by the Ant object. Whereas at least some <args> normally must be specified, properties need not normally be specified (and are not part of the interface into the objects, generally). ----- stephan Generic Universal Computer Guy [EMAIL PROTECTED] - http://www.einsurance.de Office: +49 (89) �552 92 862 Handy: �+49 (179) 211 97 67 Student: "Master, you must teach me the way of liberation!" Master: "Tell me who it is that binds you." Student: "No one binds me!" Master: "Then why do you seek liberation?" -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
