ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <KBa...@responsenetworks.com>
Subject RE: How to include a variable in !ENTITY tag?
Date Mon, 16 Apr 2001 18:03:00 GMT
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