On Tue, 22 Oct 2002, Dominique Devienne [EMAIL PROTECTED] wrote:
In what way if not using the UpToDate task superior?
A tricky question, especially in the light of the depend selector that
has brought the uptodate logic into fileset in a way.
In the following code of mine, it doesn't look to
-Original Message-
From: Dominique Devienne [mailto:DDevienne;lgc.com]
Sent: Tuesday, October 22, 2002 11:27 AM
To: 'Ant Users List'
Subject: RE: Uptodate checking...
In what way if not using the UpToDate task superior? In the
following code
of mine, it doesn't look to me than
[mailto:MDougherty;XIFIN.Com]
Sent: Wednesday, October 23, 2002 10:16 AM
To: 'Ant Users List'
Subject: RE: Uptodate checking...
I think it depends on the behavior you desire. In your example it looks like
you want to do the entire task if one or more files are out-of-date. In some
cases, i.e. javac, you
-Original Message-
From: Dominique Devienne [mailto:DDevienne;lgc.com]
Sent: Monday, October 21, 2002 4:02 PM
To: 'Ant Users List'
Subject: RE: Uptodate checking...
Just in case, have you checked out the various XML tasks in
Related Projects
and/or External Tools? Notably
You'll find links in http://jakarta.apache.org/ant/external.html --DD
-Original Message-
From: Mike Dougherty [mailto:MDougherty;XIFIN.Com]
Sent: Wednesday, October 23, 2002 10:17 AM
To: 'Ant Users List'
Subject: RE: Uptodate checking...
-Original Message-
From: Dominique
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
(getTaskName());
helper.setOwningTarget(getOwningTarget());
helper.init();
}
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