ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <maill...@reumann.net>
Subject fileset not supporting nested selector?
Date Thu, 06 Jun 2002 14:34:22 GMT
I'm trying to delete all files in a destination directory that are no
longer in the directory I copied from. I'm trying to do this with:

<delete>
   <fileset dir="${dest}/users">
      <not>
         <present targetdir="${from}/users"/>
      </not>
   </fileset>
</delete>

I keep getting the error:

The <fileset> data type doesn't support the nested "not" element.

Now matter what kind of selector I put inside the fileset I get a
similar type of error so I'm not sure what I'm doing wrong.

Thanks for any help.


-- 

Rick
mailto:maillist@reumann.net


--
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