ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn McAllister" <gle...@ca.ibm.com>
Subject Re: Wildcard copy and move (was Re: Copying and renaming in ANT-USER)
Date Thu, 05 Oct 2000 20:17:36 GMT


The only outstanding change is to include an attribute to copy (and thus to
move) to include empty directories.  Hopefully this will hI just commited a
change to get rid of the dir attribute in copy and move to keep things a
little cleaner.

As a starting point for your task, I would suggest extending Copy.java and
overriding the doFileOperations method.  The Move.java class does just
that, since Copy does all the work of collecting the file names.  You may
need to add some new attributes or "hide" others as appropriate.

Glenn McAllister
Software Developer. IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey


Please respond to ant-dev@jakarta.apache.org

To:   ant-dev@jakarta.apache.org
cc:
Subject:  Wildcard copy and move (was Re: Copying and renaming in ANT-USER)


----- Original Message -----
From: "Akbar Ibrahim" <akbar.ibrahim@wipro.com>
To: <ant-user@jakarta.apache.org>
Sent: Monday, September 25, 2000 10:25 PM
Subject: Re: Copying and renaming


> > Yes: First switch to current Ant instead of Ant 1.1 if you want to
> > contribute tasks - just to ensure it fits with some architectural
> > changes.
> >
> > Second join the ant-dev list.
> >
> > Third wait for Glenn McAllister to commit the new copy and move tasks
> > (together with a modified delete task). We are going to replace
> > copyfile/copydir with a single copy task and do the same for
> > delete/deltree. Rename is going to be called move because this is
> > closer to what it does.
> >
> > Whatever you have in mind will probably benefit from extending the
> > copy or move task.
> >
> > Stefan
> >


Looks like copy, delete and move tasks have been committed. If there is not
going to be any drastic change in these tasks I could start my work on the
wildcard copy and move tasks.

Any suggestions ?

Akbar






Mime
View raw message