ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Clements <dcleme...@merc-int.com>
Subject RE: Resolution of names in patternset
Date Tue, 04 Feb 2003 22:55:10 GMT
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:DDevienne@lgc.com] 
> 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: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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
> 

Mime
View raw message