ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Resolution of names in patternset
Date Tue, 04 Feb 2003 22:40:46 GMT
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:dclements@merc-int.com] 
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

Mime
View raw message