ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Move Task ?
Date Tue, 17 Aug 2004 13:43:08 GMT

Hello Peter,

thanks for your reply, but it doesn't work that way.
i've already tried that.

the dir="from" disappears

Env = Win2000 / jdk 1.3.1_03 / Ant 1.5.1


Regards, Gilbert


-----Original Message-----
From: Peter Reilly [mailto:peterreilly@apache.org]
Sent: Tuesday, August 17, 2004 3:33 PM
To: Ant Users List
Subject: Re: Move Task ?


Try:
    <move todir="to">
      <fileset dir="from" includes="**/*"/>
    </move>


Peter

Rebhan, Gilbert wrote:

>Hi,
>
>i wanted to move the contents under a directory to
>another directory _without_ moving the directory itself.
>
>How to do that ? I've tried several combinations with
>filterset etc. but the dir always gets lost.
>
>dir1/*.* move to dir2/*.* where dir1 should remain.
>
>
>thanks for any advice!
>
>
>Regards, Gilbert
>
> 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


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


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


Mime
View raw message