The target idea will probably work. The problem is that I am using <import> to load in the file that defines the patternset, so I can't move the definition. I am also using xslt to dynamically create the imported file, so I may have to rework the parsing in order to put it into its own target.
Thanks for the idea, Dave > -----Original Message----- > From: Dominique Devienne [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 3:41 PM > To: 'Ant Users List' > Subject: RE: Resolution of names in patternset > > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
