ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yagna Boorada" <yag...@mastek.com>
Subject RE: How can I check an xml file timestamp and execute with a java in build file
Date Fri, 10 Mar 2006 10:08:24 GMT
Hi Jan,

	Thank you very much for your help!

	Now I could able to parse only modified files.


Yagna

If your mind can conceive it and heart can believe  it then you can surely achieve it.


-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Friday, March 10, 2006 1:11 PM
To: user@ant.apache.org
Subject: AW: How can I check an xml file timestamp and execute with a java in build file

A fileset selects files. include/exclude uses name patterns for selecting special files. For
more precise selection you could specify nested selectors [1].
For a simple timestamp check, you could use <date>. If you use generated files (which
content could be unchanged, but completetly new created) you could use <modified>.

Jan

[1] http://ant.apache.org/manual/CoreTypes/selectors.html

>-----Ursprüngliche Nachricht-----
>Von: Yagna Boorada [mailto:yagnab@mastek.com]
>Gesendet: Freitag, 10. März 2006 08:27
>An: Ant Users List
>Betreff: RE: How can I check an xml file timestamp and execute with a 
>java in build file
>
>Hi Jan
>	Thanks for your reply!
>
>	Basically I want to pass only modified xml files for parsing.
>
>	How does this fileset helps me to recognise modified files.
>
>Yagna
>
>If your mind can conceive it and heart can believe  it then you can 
>surely achieve it.
>
>Extn: 4452, 7818
>
>
>-----Original Message-----
>From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
>Sent: Friday, March 10, 2006 12:53 PM
>To: user@ant.apache.org
>Subject: AW: How can I check an xml file timestamp and execute with a 
>java in build file
>
>>    I would like to check the timestamp of each one of of the
>xml files
>
>>and process only those.
>
>Those which are what?
>
>Try nested selectors in <fileset>.
>
>
>Jan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
>commands, e-mail: user-help@ant.apache.org
>
>
>
>
>MASTEK
>"Making a valuable difference"
>Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
>In the US, we're called MAJESCOMASTEK
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Opinions expressed in this e-mail are those of the individual and not 
>that of Mastek Limited, unless specifically indicated to that effect. 
>Mastek Limited does not accept any responsibility or liability for it. 
>This e-mail and attachments (if any) transmitted with it are 
>confidential and/or privileged and solely for the use of the intended 
>person or entity to which it is addressed. Any review, re-transmission, 
>dissemination or other use of or taking of any action in reliance upon 
>this information by persons or entities other than the intended 
>recipient is prohibited. This e-mail and its attachments have been 
>scanned for the presence of computer viruses. It is the responsibility 
>of the recipient to run the virus check on e-mails and attachments 
>before opening them. If you have received this e-mail in error, kindly 
>delete this e-mail from all computers.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
>commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org




MASTEK 
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited,
unless specifically indicated to that effect. Mastek Limited does not accept any responsibility
or liability for it. This e-mail and attachments (if any) transmitted with it are confidential
and/or privileged and solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any action in reliance
upon this information by persons or entities other than the intended recipient is prohibited.
This e-mail and its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and attachments before
opening them. If you have received this e-mail in error, kindly delete this e-mail from all
computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message