That seems like a perfectly reasonable feature request for the <delete>
task.

As for being compared to Slayer - wow.... I'm honored!  Now if I could only
have the huge speakers and stage and thousands of screaming fans.... :))

    Erik


----- Original Message -----
From: "Tim Walker" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, June 13, 2002 4:33 PM
Subject: RE: Delete and File Properties


> Erik,
>
> You rock like Slayer.
>
> Using Delete.java as a guideline...my attribDelete.java 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
> "don't_delete_read_only_files=true".
>
> Thanks again Erik.
>
> --
> Tim Walker
> Senior Software Engineer
> [EMAIL PROTECTED]
> Freshwater Software
> 303-443-2266 ex. 6505
> Looking for Answers to your SiteScope or SiteSeer questions?
> http://www.freshwater.com/support/search.htm
>
>
> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 13, 2002 1:41 PM
> To: Ant Users List
> Subject: Re: Delete and File Properties
>
> ----- Original Message -----
> From: "Tim Walker" <[EMAIL PROTECTED]>
>
> > Hmmm...thanks...a better question, I guess, is...
> >
> > Is the documentation:
> >
> > http://jakarta.apache.org/ant/manual/
> >
> > 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:
> http://jakarta.apache.org/ant/manual/develop.html#writingowntask
>
> 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!  :)
>
>     http://www.amazon.com/exec/obidos/ASIN/1930110588
>
> 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
> http://www.manning.com/antbook/ 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.
>
>     Erik
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to