ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <SCo...@sportvision.com>
Subject RE: FTP 'depends' question
Date Tue, 22 Apr 2003 18:47:17 GMT
There is a known problem not only with the FTP task with the commons-net
(or NetComponents) library on which the task depends, and really, it is
traceable to vagueness in the FTP spec itself - the spec is so vague
that there is no 100% reliable way to read the timestamp on an FTP file
in a machine-independent way.  It is a can of worms.

-----Original Message-----
From: Lopez, William [mailto:william.lopez@eds.com] 
Sent: Tuesday, April 22, 2003 1:38 PM
To: Ant Users List
Subject: FTP 'depends' question


...just to clarify...the depends attribute in the ftp task needs a
source and another resource (in the remote dir) to compare to determine
what is new? If so, is there a way to test for a newer file within the
source directory when the remote destination is always empty?

Here is the scenario:

-incremental builds (several times a day)
-ftp compiled jars to remote directories (empty staging area)
  >would like to only ftp new jars- currently sending all

Thanks,
-Will

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


Mime
View raw message