ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Kee" <ke...@netsco.com>
Subject RE: How to include a variable in !ENTITY tag?
Date Mon, 16 Apr 2001 18:10:19 GMT
It there any other way to include an external file beside using the ENTITY
tag from SGML context?

- keith

-----Original Message-----
From: KC Baltz [mailto:KBaltz@responsenetworks.com]
Sent: Monday, April 16, 2001 2:03 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: How to include a variable in !ENTITY tag?


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:keith@netsco.com]
> Sent: Monday, April 16, 2001 12:23 PM
> To: ant-user@jakarta.apache.org
> 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
>



Mime
View raw message