No. 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 [mailto:[EMAIL PROTECTED]] 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 it? Basically I have a patternset that is set like this: <patternset id="foo"> <include name="${bar}/some.jar> </patternset> The problem is that ${bar} is not set until later. So my patternset ends up with the literal string ${bar} in it. Thanks, Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
