ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Uptodate checking...
Date Mon, 21 Oct 2002 23:02:20 GMT
Just in case, have you checked out the various XML tasks in Related Projects
and/or External Tools? Notably the XmlTask task?

To answer your question, it's up to you, and perfectly alright to leverage
an existing task like Uptodate. Just configure it like below if you need to
forward set/create calls to it, and only when you need it in execute().

  // Override Task#init
  public void init()
              throws BuildException {
    _java = new Java();

  private void configureTask(Task helper) {

I hope this helps. --DD

-----Original Message-----
From: Mike Dougherty [mailto:MDougherty@XIFIN.Com] 
Sent: Monday, October 21, 2002 5:51 PM
To: Ant Users (E-mail)
Subject: Uptodate checking...

I have a custom task which merges XML files. I want it to do and up-to-date
check like most of the other tasks (i.e. Javac, Jar). Is using the UpToDate
object inside my execute() method the easiest/best way to do this? Is there
a better (read cleaner) way to do what I want?
Thanks for any help offered,
P.S. This may be a ant-dev list question. If so let me know and I will
resend it to that list. 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message