Erik Hatcher wrote: > > ----- Original Message ----- > From: "Michael J McGonagle" <[EMAIL PROTECTED]> > > Basically, I want to know if it is "legal" (ie; does Ant just ignore the > > unused attributes) to do the following: > > > > > > <project name="myproject" author="authorname" default="usage"> > > ... > > </project> > > Nope, not legal and won't work. But trial-and-error would show this easily. >
Thanks, Erik, I had only tried adding attributes to other tags, not the project tag. I just tried it and got an error. > You could use that properties mechanism, sure. Or a .properties file that > hold your metadata. I like the idea of using the properties files as it separates the data from the Ant targets, and I only need to worry about writing out a properties file instead of an Ant build.xml file. Thanks, Mike -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
