ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Breu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IVYDE-382) ivysettings.xml with credentials
Date Fri, 31 Mar 2017 13:42:41 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950898#comment-15950898
] 

Michael Breu edited comment on IVYDE-382 at 3/31/17 1:42 PM:
-------------------------------------------------------------

Hello, 

Although this issue is now nearly 2 years old, we are still suffering from the same problem.

Since there is not yet a solution, we finally decided to fork the IvyDE plugin from github
to extend it for security (i.e. password) configuration.

In a nutshell, the IvyDE plugin now provides an extra preference tab "security" where you
can enter your credentials in the same manner as in the ivy:settings declaration.

If you want to test it, you can download it from our update site: 
    http://server.arctis.at/arctis-update-site/ 
Select Apache IvyDE and Apache IvyDE Resolve Visualizer .

The respective source code is available at https://github.com/alex-bl/ivyDEextension/tree/ivyDECredentials
Find a first overview of changes under https://github.com/alex-bl/ivyDEextension/blob/ivyDECredentials/README.md

We had to update the version dependencies slightly. The plugin now requires Java 1.6 and at
least Eclipse 4.2 (Juno).

We have tested it under Eclise Mars.2 Release (4.5.2) and above.

Please have a look onto https://github.com/alex-bl/ivyDEextension/blob/ivyDECredentials/README.md
section 5. 
There are a series of limitations due to the fact that the credential interface provided by
ivy.jar is somewhat limited, and we didn't want to patch also ivy itself. 

One of the worst drawback is, that you don't get any error feedback from the ivy-console,
when you misspelled host, realm or username. May be ivy opens some time it's final CredentialsStore
class. This would make it much simpler to implement a proper user interface.

*To the Dev Team:*
We would consider it more than welcome if this patch would find it's way back into the main
development path.

Best regards

Michael





was (Author: michael_breu):
Hello, 

Although this issue is now nearly 2 years old, we are still suffering from the same problem.

Since there is not yet a solution, we finally decided to fork the IvyDE plugin from github
to extend it for security (i.e. password) configuration.

In a nutshell, the IvyDE plugin now provides an extra preference tab "security" where you
can enter your credentials in the same manner as in the ivy:settings declaration.

If you want to test it, you can download it from our update site: 
    http://server.arctis.at/arctis-update-site/ 
Select Apache IvyDE and Apache IvyDE Resolve Visualizer .

The respective source code is available at https://github.com/alex-bl/ivyDEextension/tree/ivyDECredentials
Find a first overview of changes under https://github.com/alex-bl/ivyDEextension/blob/ivyDECredentials/README.md

We had to update the version dependencies slightly. The plugin now requires Java 1.6 and at
least Eclipse 4.2 (Juno).

We have tested it under Eclise Mars.2 Release (4.5.2) and above.

Please have a look onto https://github.com/alex-bl/ivyDEextension/blob/ivyDECredentials/README.md
section 5. 
There are a series of limitations due to the fact that the credential interface provided by
ivy.jar is somewhat limited, and we didn't want to patch also ivy itself. 

One of the worst drawback is, that you don't get any error feedback from the ivy-console,
when you misspelled host, realm or username. May be ivy opens some time it's final CredentialsStore
class. This would make it much simpler to implement a proper user interface.

*To the Dev Team:*
We would consider it more than welcome if this patch would find it's way back into the main
develoment path.

Best regards

Michael




> ivysettings.xml with credentials
> --------------------------------
>
>                 Key: IVYDE-382
>                 URL: https://issues.apache.org/jira/browse/IVYDE-382
>             Project: IvyDE
>          Issue Type: Improvement
>          Components: classpath container
>    Affects Versions: 2.2.0.final
>         Environment: Eclipse 4.5.0
>            Reporter: Daniel Schaarschmidt
>
> In the current version it is not possible to provide credentials needed to get the ivysettings.xml.
In my ant-build-file I have it working with the following declaration:
> {code:xml}
> <ivy:settings id="ivysettings" url="http://myhost/svn2/config/ivysettings.xml" 
>       host="myhost" realm="Subversion-OhneAd" username="config" passwd="config-pw"/>
> {code}
> But in IvyDE I don't have the opportunity to provide those credentials and therefore
can't get the ivysettings.xml. The error is:
> {quote}
>  The ivy settings file 'http://myhost/svn2/config/ivysettings.xml' could not be read:
The HTTP response code for http://myhost/svn2/config/ivysettings.xml did not indicate a success.
See log for more detail.
> {quote}
> So we need a way to provide credentials for getting the ivysettings.xml within IvyDE.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message