ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "senthil kumar pitchayandi" <senthi...@rediffmail.com>
Subject Re: moving files in unix from windows
Date Tue, 12 Aug 2003 04:13:29 GMT
Hi Senthil,

  I have try with ftp tag it is giving error.

error : Could not create task or type of type: ftp.

<ftp server="bourne"  remotedir="/usr"  userid="pawan"  
password="pawan1234" depends="yes"  binary="yes">
     <fileset dir="${stubDir}"/>
  </ftp>



What is wrong with the code .

please let me know.
thanks.
P.Senthilkumar.



On Tue, 12 Aug 2003 Kumar Senthil - SKUMAR wrote :
>
>Hi ,
>I am able to ftp files to unix machine, do chmod "a+x".
>But I am not able to move files in one directory to another.
>Ant is taking the windows directory "C:\u03\kbdev\lib" and 
>complaining the
>directory was not found.
>Question is then how come it is able to do chmod on the same 
>directory in
>unix?
>
>thanks
>Senthil
>
>     <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"/>
>
>
>
>
>
>
>
>**********************************************************************
>The information contained in this communication is
>confidential, is intended only for the use of the recipient
>named above, and may be legally privileged.
>If the reader of this message is not the intended
>recipient, you are hereby notified that any dissemination,
>distribution, or copying of this communication is strictly
>prohibited.
>If you have received this communication in error,
>please re-send this communication to the sender and
>delete the original message or any copy of it from your
>computer system. Thank You.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>

___________________________________________________
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp



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


Mime
View raw message