ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Starkie <ski...@gmail.com>
Subject Re: ftp question 1.5.4
Date Fri, 18 Mar 2005 15:31:33 GMT
yes it works.  I just moved all the jar files on the server to a
single directory and the following target will read from a list of
files, download each one and place them in a single dirctory for use
in a classpath:

	<!-- Retrieve packages dependant on -->
	<target name="get-depend" depends="init" if="depends.file.present"
description="Retrieve the packages this is dependant on." >
    		<ftp action="get"
			binary="yes"
			server="${repository.address}"
			userid="ftpstore"
			password="ftpstore">
			<fileset dir="${lib.path}">
				<includesfile name="${basedir}/dependencies.txt"/>
			</fileset>
		</ftp>
	</target>



On Wed, 16 Mar 2005 16:29:39 -0700, Vadim Kazakov
<vadimk@quadrusfinancial.com> wrote:
> Didn't realize the listing was stored on the local computer. Then I
> guess my response doesn't really apply.
> 
> -----Original Message-----
> From: Vadim Kazakov [mailto:vadimk@quadrusfinancial.com]
> Sent: March 16, 2005 2:18 PM
> To: Ant Users List; Mike Starkie
> Subject: RE: ftp question 1.5.4
> 
> You can use the <ftp action="list" listing="list.txt"/>
> Attributes and then somehow parse the list.txt file in order to get each
> file in that list.
> 
> -----Original Message-----
> From: Mike Starkie [mailto:skijor@gmail.com]
> Sent: March 16, 2005 2:08 PM
> To: user@ant.apache.org
> Subject: ftp question 1.5.4
> 
> I'm forced to use ant 1.5.4 and I would like ant to read a list of
> filenames stored in a file and do an ftp 'get' on each one of them.
> Is this possible using the ftp task?
> 
> ---------------------------------------------------------------------
> 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