ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neta Bar Tal" <>
Subject filset issue
Date Thu, 12 Aug 2004 06:05:17 GMT

Hi All,
I'll explain what I need to do: I need to search in a certain directory
for files which are newer then a specific time. this direcoty is huge
and the task I wrote takes lots of time. can someone assist with this

thanks in advance

<target name="ONFSGetter_job"  description="hecking what files are newer
then the time stamp">
  <property name="ONB_TODAY_BUILD" value="${ONB_BUILD_DATE}
  <path id="new.products.path">
   <fileset dir="${env.HOME}/proj/"
       <date datetime="${ONB_TODAY_BUILD}" when="after"/>
  <property name="new.products" refid="new.products.path"/>
  <propertyregex property="new.products.last" input="${new.products}"
regexp=":" replace=" " casesensitive="true" />
  <propertyregex property="updated.products"
input="${new.products.last}" regexp="${env.HOME}" replace=""
casesensitive="true" />

the file system is as follows:

home/proj   - <proj name> - bin
                                           @other project name (sub
project) - this directory I want to skeep.

Neta Bar-Tal

* 972-9-7960521


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message