ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rosenberg" <>
Subject Re: Expanding ${} constructs for all attributes
Date Wed, 13 Dec 2000 08:49:57 GMT
I'd like to see this in the expanded in <!ENTITY> expansions as well:

<!ENTITY testEntity "${variableToExpand}">
<project .....

    <property name="variableToExpand" value="fred"/>    
    <property name="test" value="&testEntity;"/>


I realize this may be a limitation with XML parsing....But we need a way
to make up for the lack of a proper include mechanism for creating a
library of build templates, etc.


----- Original Message ----- 
From: "Stefan Bodewig" <>
To: <>
Sent: Wednesday, December 13, 2000 3:36 AM
Subject: Expanding ${} constructs for all attributes

> Hi,
> there have been numerous people on ant-user bitten by the fact that
> Ant currently doesn't expand ${} in any attribute of <project> and
> <target>. 
> Does anybody object against expanding them in these attributes as
> well? I.e. Ant would expand ${} in all attributes, making it more
> consistent.
> Stefan

View raw message