Currently, <modified> is not supported for refid.  I would like to
suggest that this is a needed feature.

I have a project that must be built on several platforms.  The
build.xml uses scp to copy the files to each target system, then
sshexec to execute the build script.

The files are the same on all systems, so I define a single fileset,
and reference the fileset via refid in each of the scp tasks.

I would like to use <modified> selector to limit the files that are
transferred, but there is no way to do this given my use of referenced
filesets.  I cannot include the selector in the fileset itself since
the cache will be updated on the first reference, and subsequently no
transfers will occur for other target systems.

What I need to do is specify a separate cache for each target
platform.  The only way to do that with current ANT 1.6.5 is to
duplicate the fileset in every <scp> task.

I will look into creating a macro for this, and I'm sure that will
work, but it seems reasonable to allow the modified selector in a
fileset that uses a refid as well.

Michael Giroux

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to