ant-notifications mailing list archives

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


Michael Breu commented on IVYDE-382:


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: 
Select Apache IvyDE and Apache IvyDE Resolve Visualizer .

The respective source code is available at
Find a first overview of changes under

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
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


> ivysettings.xml with credentials
> --------------------------------
>                 Key: IVYDE-382
>                 URL:
>             Project: IvyDE
>          Issue Type: Improvement
>          Components: classpath container
>    Affects Versions:
>         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

View raw message