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;"/>
</project>
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.
Jason
----- Original Message -----
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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