You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by EJ Ciramella <ej...@upromise.com> on 2006/03/16 19:03:18 UTC

sync not syncing what's in a fileset

Has anyone tried something like this:

 

<project name="postbuildfiles" default="postbuildfiles"
basedir="C:/work/">

 <target name="postbuildfiles">

  <sync todir="\\build3.corp.upromise.com\C$\work">

    <fileset dir="C:/work">

      <include name="build-*.xml"/>

    </fileset>

  </sync>

  

  <sync todir="\\build2.corp.upromise.com\C$\work">

    <fileset dir="C:/work">

      <include name="build-*.xml"/>

    </fileset>

  </sync>

 </target>

</project>

 

 

When I do this, the sync starts syncing all kinds of things that are NOT
in the fileset.  What am I doing wrong?