This is almost certainly impossible, as properties/variables are a feature
of Ant, while !DOCTYPE and !ENTITY are features of XML that get resolved
before Ant gets to see them.
K.C.
> -----Original Message-----
> From: Keith Kee [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 12:23 PM
> To: [EMAIL PROTECTED]
> Subject: How to include a variable in !ENTITY tag?
>
>
> Hi:
> I am new to ant, and is thinking of migrating from GNUMake
> environment. It
> looks like it is possible to migrating from the current
> GNUmake environment
> except one major problem: I cannot specify an environment
> variable to the
> ENTITY tag like this.
> <!DOCTYPE project [
> <!ENTITY include SYSTEM "${CONFIG_DIR}/common.xml">
> ]>
>
> Can somebody point out if this is possible, or if there is a viable
> workaround? I search the mailing archive and FAQ with no avail.
>
> TIA,
> keith
>