ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Rodriguez <>
Subject copy task with excludes
Date Thu, 06 Dec 2001 01:06:34 GMT
Here is some of my build.xml file:

    <!--  Copying java to cabinet -->
    <copy todir="${noc}\${label}\java">
      <fileset dir="${stage.trustlib}" excludes="test/**"/>
    <copy todir="${noc}\${label}\daemons\code">
      <fileset dir="${stage.trustlib}" excludes="test/**"/>

    <!--  Copying asp to cabinet -->
    <copy todir="${noc}\${label}\asp\Site">
      <fileset dir="${viewpath}\Site"

The cabinet refered to here is just a folder.  However, after running my
build.xml, I found that the test, lost+found, and mock_up dirs still existed
in the cabinet.  What I want to do is copy everything from ${stage.trustlib}
excluding the ${stage.trustlib}/test/ dir AND copy everything from
${viewpath}/Site excluding any lost+found and mock_up dirs.  Anyone know how
to accomplish this?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message