You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Lennart Schedin (JIRA)" <ji...@apache.org> on 2009/11/06 08:56:32 UTC
[jira] Commented: (IVYDE-218) Ivy settings file cannot be loaded
via http url
[ https://issues.apache.org/jira/browse/IVYDE-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774228#action_12774228 ]
Lennart Schedin commented on IVYDE-218:
---------------------------------------
I guess that the problem is in {{IvyClasspathContainerConfiguration.readOldIvySettings()}}. This method has not been created to account for a {{http://}}.
It could be possible that IVYDE-94 caused this problem.
> Ivy settings file cannot be loaded via http url
> -----------------------------------------------
>
> Key: IVYDE-218
> URL: https://issues.apache.org/jira/browse/IVYDE-218
> Project: IvyDE
> Issue Type: Bug
> Components: classpath container
> Affects Versions: 2.0.0.final
> Environment: Eclipse SDK Version: 3.5.1 (64 bit), Windows 7 (64 bit)
> Reporter: Lennart Schedin
>
> How to reproduce:
> The Ivy settings file:
> {code:xml|title=myivysettings.xml}
> <!-- This is a copy of the ivy-2.1.0.jar/org/apache/ivy/core/settings/ivyconf.xml -->
> <ivysettings>
> <settings defaultResolver="default" />
> <include url="${ivy.default.settings.dir}/ivysettings-public.xml" />
> <include url="${ivy.default.settings.dir}/ivysettings-shared.xml" />
> <include url="${ivy.default.settings.dir}/ivysettings-local.xml" />
> <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml" />
> <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml" />
> </ivysettings>
> {code}
> is uploaded to my webserver: http://lesc.se/ivy/myivysettings.xml
> Create a new Java project in Eclipse: "ivyde-bug"
> Add a simple ivy.xml file:
> {code:xml|title=ivy.xml}
> <ivy-module version="2.0">
> <info organisation="se.lesc" module="ivybug" revision="1.0" />
> </ivy-module>
> {code}
> In the Navigator view right click on ivy.xml and select "Add Ivy library...".
> Check the checkbox "Enable project specific settings"
> Enter the URL in "Ivy settings path:": http://lesc.se/ivy/myivysettings.xml
> Press "Finish".
> Actual:
> An error message is displayed:
> {noformat}
> Error while resolving the ivy instance for ivy.xml in 'ivyde-bug':
> The Ivy settings file 'project:///ivy/myivysettings.xml' cannot be found
> {noformat}
> Expected:
> The ivy settings on should be downloaded from the webserver and used.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.