Try

<move todir="new" includeEmptyDirs="yes">....</move>

Bob S.

Quoting Matt Benson <[EMAIL PROTECTED]>:

> I think it ought to work for you to move like this:
> 
> <move todir="new">
>   <fileset dir="${basedir}" includes="old,old/**"
> </move>
> 
> However for some reason "old" is not removed.
> 
> Does anyone else consider this a bug?
> 
> -Matt
> 
> --- Tibor  Strausz <[EMAIL PROTECTED]> wrote:
> > 
> > i want to move old dirs but when they do not exist
> > the move task fails
> > but i want to continu 
> > i can think of a <Available> task to first check if
> > the dir is available and
> > put the move task in a seperate target with a
> > if/unless task
> > but than its seems to me like a lot of code for such
> > a simple thing to do
> > is there a beter way??
> > 
> > tibi
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> 
> --
> 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