ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Sahlbach (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-719) SSH/SFTP Resolvers don't create default passwd files
Date Wed, 06 Feb 2008 14:09:09 GMT
SSH/SFTP Resolvers don't create default passwd files
----------------------------------------------------

                 Key: IVY-719
                 URL: https://issues.apache.org/jira/browse/IVY-719
             Project: Ivy
          Issue Type: Bug
          Components: Core, Documentation
    Affects Versions: 2.0.0-beta-1
         Environment: Apache Ant version 1.7.0 compiled on November 30 2007

java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)

            Reporter: Andreas Sahlbach


Using one of the above resolvers without setting a "passfile" attribute and using a keyfile
that requires a password lets ivy popup a nice dialog where you can enter the required password
for the keyfile. This password does not contain a "rememberMe" checkbox. If I define a "passfile"
attribute, I get a "rememberMe" checkbox and everything 
works fine. According to the documentation a default should be used (as it was the case in
ivy < 2.0.x). 

I dug into the source code and it looks like that the AbstractSshBasedResolver has a function
called setSettings in which the default passfile is been set. It seems to me that this function
is never called. Maybe because the AbstractSshBasedResolver does not implement the interface
IvySettingsAware ? 

BTW: The documentation does not mention the possibility to set a "passfile" attribute. I did
this because of the source code I've found so maybe the docs should be updated, too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message