ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Resolution of names in patternset
Date Tue, 04 Feb 2003 22:40:46 GMT

Define it later, like just before it's used (bar should be set then, right),
or if you do need it in several places, put it in its own target so that any
target that uses it can depend on that target. --DD

-----Original Message-----
From: David Clements [] 
Sent: Tuesday, February 04, 2003 4:39 PM
To: 'Ant Users List'
Subject: Resolution of names in patternset

Is there a way to delay the string resolution of a patternset?  Or re-source

Basically I have a patternset that is set like this:

<patternset id="foo">
	<include name="${bar}/some.jar>

The problem is that ${bar} is not set until later. So  my patternset ends up
with the literal string ${bar} in


View raw message