ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: Unix commads behaving different in Ant task
Date Mon, 08 May 2006 15:12:55 GMT
I don't think FTP in and of itself will let you grab a folder.  You can 
certainly grab individual files...  I don't think this is ant specific 
but FTP related.  FTP only supports a fixed number of commands - of 
which zip is not one of them...

Meshram, Tushar wrote:
> Hi,
>
> 	Can you help? 
> How can I download an empty folder from FTP? Or is there any way to zip the folders on
Ftp using ANT?
> ________________________________
> Tushar Meshram
> SCM / Build 
>
> Lionbridge
> 6 Spectra Building, Hiranandani Business park
> Powai, Mumbai - 400 076, India.
> +91-22-55567000 Extn. 7123 (O)
> +91-9867008253 (Mo)
>
> www.lionbridge.com
>
>
> -----Original Message-----
> From: Venkat Kotu [mailto:vkotu@porticosys.com]
> Sent: Saturday, May 06, 2006 12:12 AM
> To: user@ant.apache.org
> Subject: Unix commads behaving different in Ant task
>
> Hi,
>
>
>
> I have a situation where in I need to find all the .jar files in  a
> directory and write it to a temp file.
>
>
>
> The command from the prompt is : find myDir/*.jar and it lists all the
> .jar files from myDir directory.
>
>
>
> The ant target defined for the purpose is:
>
>
>
> <target name="list.jars">
>
>             <exec os="unix" executable="find" outputproperty="temp.txt">
>
>                         <arg line="$basedir}/myDir/*.jar"/>
>
>             </exec>
>
>  </target>
>
>
>
> This does not return any thing.
>
>
>
> What I am doing wrong?
>
>
>
> Thanks
>
> Venkat Kotu
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>   

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


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


Mime
View raw message