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 43083] - [SUBMIT] sshsession task
Date Thu, 16 Aug 2007 19:53:54 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=43083>.
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=43083





------- Additional Comments From djohnson@desknetinc.com  2007-08-16 12:53 -------
I think some accommodation for jsch's dynamically assigning the local port in a
local tunnel makes sense.  I would do it via the <localtunnel> embedded element,
however, because the localtunnels parameter is actually a list, so an
accompanying localport parameter would be inadequate.  I would suggest something
more like:
  <sshsession host="somehost"
    username="dude"
    password="yo"
  >
    <localtunnel lportproperty="local.port" rhost="localhost" rport="2401"/>
    <sequential>
      <cvs  command="update ${cvs.parms} ${module}"
        cvsRoot="${cvs.root}"
        dest="${local.root}"
        port="${local.port}"
        failonerror="true"
    />
    </sequential>
  </sshsession>

That way, each <localtunnel> could have EITHER an lport or an lportproperty, and
the propertyname could be different for each localtunnel.  Does that 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