ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <william.lo...@eds.com>
Subject RE: FTP 'depends' question
Date Tue, 22 Apr 2003 19:07:57 GMT
Dang, that sucks! Thanks for the fast reply!

-----Original Message-----
From: Steve Cohen [mailto:SCohen@sportvision.com] 
Sent: Tuesday, April 22, 2003 1:47 PM
To: Ant Users List
Subject: RE: FTP 'depends' question


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


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

Mime
View raw message