ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31744] - FTP subtasks should all share one connection
Date Mon, 30 May 2005 16:13:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31744>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31744





------- Additional Comments From scohen@apache.org  2005-05-30 18:12 -------
This is a very interesting suggestion and I am considering how best to implement it.

I have an idea.  I'd like some of the other ant developers to chime in on it.

Suppose we had an <ftp-connection> data type, with an id, etc.  Could we wrap
that around a jakarta-commons-net FTPClient object, and keep its connection
live?  Then we could refer to it via refid in subsequent invocations of the
<ftp> task within the same target.  Some care would have to be taken to insure
that the connection is closed within the target.

So ant-dev's please chime in here.  Is there any glaring flaw in this plan that
would cause it not to work?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message