ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Walker <>
Subject RE: Delete and File Properties
Date Thu, 13 Jun 2002 20:33:00 GMT

You rock like Slayer. 

Using as a was point and click. I needed to add
only the if
(f.canWrite()) to that part of removeFiles() and log those that I did not delete as confirmation.
Works GREAT.

My only remaining question...

Shouldn't the Delete task operate like this by default? Or, at least have a delete attribute
supported like

Thanks again Erik. 

Tim Walker
Senior Software Engineer
Freshwater Software
303-443-2266 ex. 6505
Looking for Answers to your SiteScope or SiteSeer questions?

-----Original Message-----
From: Erik Hatcher [] 
Sent: Thursday, June 13, 2002 1:41 PM
To: Ant Users List
Subject: Re: Delete and File Properties

----- Original Message -----
From: "Tim Walker" <>

> Hmmm...thanks...a better question, I guess, is...
> Is the documentation:
> Acceptable for something as fundamental as this ? Trying to implement a
task based solely on this
> documentation led me to these assumptions.

Well, in all fairness, the documentation is geared primarily towards Ant
users.  The best source of information on how to develop Ant tasks will
always be, well, Ant's own source code.

And the answers to the setter and TaskContainer issues were on the
developing page:

Granted there is lots of room for improvement there.  But....

> I'll have to track down a good reference. Any come to mind ?

Why yes, and I'm glad you asked!  :)

We have one chapter dedicated to writing custom tasks, and another that has
info on writing custom selectors, FilterReaders, mappers, listeners, and
loggers. At some point our publisher will post some chapters online at but they aren't there yet - and I haven't a
clue which ones will be made available for free as samples.  Proofreader is
reading our stuff now, so we are well on our way to having it in print soon.


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

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

View raw message