You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Chris Todd <ct...@alabanza.com> on 2000/09/01 06:06:46 UTC

is attribute order important to ant?

Are the following two tags equivalent from ant's perspective (will it parse
both of them properly)?

<copyfile src="test.java" dest="subdir/test.java" />
<copyfile dest="subdir/test.java" src="test.java" />

Sincerest regards,
Chris Todd
Software Engineer
Alabanza Corporation
ctodd@alabanza.com


Re: is attribute order important to ant?

Posted by Christopher Elkins <ce...@scardini.com>.
> Are the following two tags equivalent from ant's perspective (will it parse
> both of them properly)?
> 
> <copyfile src="test.java" dest="subdir/test.java" />
> <copyfile dest="subdir/test.java" src="test.java" />
> 
Yes, although this is due to the properties of XML not specifically Ant.

> Sincerest regards,
> Chris Todd
> Software Engineer
> Alabanza Corporation
> ctodd@alabanza.com
> 

--
Christopher Elkins