ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Dynamic PatternSet for Set of Directory
Date Mon, 10 Jun 2002 19:06:51 GMT
Where are you placing this <patternset> definition?  Outside of targets?

Have you tried placing the <patternset> immediately after calling your
initialization task?  That should do the trick.  But of course that will
mean you have to move any other datatype declarations that depend upon that
patternset also.

----- Original Message -----
From: "Mike Murray" <mmurray@ptc.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, June 10, 2002 2:42 PM
Subject: Dynamic PatternSet for Set of Directory


> I have created an initialization task that will set some properties,
> based on a command line property.  I have defined a patternset that uses
> one of these dynamically created properties.
>
>         <patternset id="dir.pattern" includes="${dir.pattern.list}"/>
>
> The problem is that the property gets evaluated before my initialization
> task can set it.  Is there any straightforward way to dynamically set
> this property before the patternset definition evaluates it?
>
> Thanks, Mike
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message