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 14:22:16 GMT


yup - that works with Ant 1.6.2 :)

thx !

-----Original Message-----
From: Peter Reilly [mailto:peter.reilly@corvil.com]
Sent: Tuesday, August 17, 2004 4:21 PM
To: Ant Users List
Subject: Re: Move Task ?


This is (I think) a bug in ant 1.5.*.

Try with ant 1.6.2.

the build snippit works for me with ant 1.6.2 but with ant 1.5.4 the from
directory has been deleted.

Peter

Rebhan, Gilbert wrote:

>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
>
>
>
>  
>


---------------------------------------------------------------------
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