Right. All (normal) Ant types do not accept any attributes or nested
elements when refid is used. But you can almost do it using:
<fileset dir="${dir}">
<patternset refid="the file patterns" />
<modified />
</fileset>
Which is what I suggested yesterday. A little longer, but not that
much, and just one extra property for the dir. --DD
On 7/25/06, Michael Giroux <[EMAIL PROTECTED]> wrote:
Dominique,
On 7/24/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:
> <modified> is a selector, and thus will never have a refid attribute.
I'm not suggesting that <modified> accept a refid attribute. What I'm
saying is that a fileset with a refid cannot contain a selector.
<fileset refid="common.files">
<modified .../>
</fileset>
This form is not allowed. In fact, I have a set of files common to
several target systems, and I need to copy modified files to each
system. To accomplish this, I have to be able to specify a different
cache for each <scp> command.
HTH.
Michael
---------------------------------------------------------------------
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]