ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: move dir if available
Date Thu, 15 Aug 2002 17:25:24 GMT
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 <Tibor.Strausz@tridion.com> 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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message