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

> I had started to design my own datafile for my project, but it really
> came out very similar to an Ant build.xml (or at least  a subset of a
> build.xml), so rather than create a new file format, I just want to work
> with the Ant file directly. Being able to add arbitrary attributes would
> be nice, but it would work just as well to have all of the properties
> used by my program put into a target that Ant never executes, this way
> it shouldn't really interfear with Ant's operation.

You could use that properties mechanism, sure.  Or a .properties file that
hold your metadata. Or create an Ant build.xml superset and XSLT your
build.xml files dynamically from an XML file that has all your metadata in
it too.

    Erik



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to