ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Shalashov <shalas...@nnov.tv>
Subject Re[2]: moving files in unix from windows
Date Tue, 12 Aug 2003 08:06:18 GMT
Hi Kumar,

You can <telnet> to your Unix box and do anything you want there!


KSS> the task ftp doesnt support the nested "move" element...
KSS> is there a way to move files in unix by running ant in windows?

KSS> -----Original Message-----
KSS> From: Mike [mailto:szii@sziisoft.com]
KSS> Sent: Monday, August 11, 2003 6:45 PM
KSS> To: Ant Users List
KSS> Subject: Re: moving files in unix from windows


>>     <ftp server="bourne"
>>        remotedir="/p/q/r"
>>        userid=""
>>        password=""
>>        depends="yes"
>>        binary="yes">
>>           <fileset dir="${stubDir}"/>    
>>         </ftp>
>> <!-- this is not working 
>> <move todir="/m/n">
>>     <fileset dir="/u03/kbdev/lib">
>>       <include name="**/*"/>
>>     </fileset>
>>     </move>
>>       -->
>> <!-- this is working if I uncomment the previous move task -->
>>       <chmod dir="/u03/kbdev/lib" perm="a+x" includes="**/*.jar"/>       

KSS> You're setting up the ftp section and then closing it...and THEN trying
KSS> to do the move (which results in a local-machine command.)

KSS> G'Luck.

KSS> -Szii


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








KSS> **********************************************************************
KSS> The information contained in this communication is
KSS> confidential, is intended only for the use of the recipient
KSS> named above, and may be legally privileged.
KSS> If the reader of this message is not the intended
KSS> recipient, you are hereby notified that any dissemination, 
KSS> distribution, or copying of this communication is strictly
KSS> prohibited.
KSS> If you have received this communication in error,
KSS> please re-send this communication to the sender and
KSS> delete the original message or any copy of it from your
KSS> computer system. Thank You.


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



-- 
Best regards,
 Pavel


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


Mime
View raw message