ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose L Martinez-Avial (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IVYDE-355) unable to use a environment variable with an url pointing to a web-hosted ivy-settings.xml
Date Thu, 19 Dec 2013 19:10:07 GMT

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

Jose L Martinez-Avial commented on IVYDE-355:
---------------------------------------------

I just checked, and if you setup the ivy settings path as 

http://${ivy_settings_xml_path}


and then you set the variable ivy_settings_xml_path as "vulcan/ivy-settings.xml", then it
works fine. But I would like to avoid the HTTP:// altogether.

> unable to use a environment variable with an url pointing to a web-hosted ivy-settings.xml
> ------------------------------------------------------------------------------------------
>
>                 Key: IVYDE-355
>                 URL: https://issues.apache.org/jira/browse/IVYDE-355
>             Project: IvyDE
>          Issue Type: Bug
>          Components: ivysettings editor
>         Environment: Eclipse Kepler
>            Reporter: Jose L Martinez-Avial
>         Attachments: issue ivy 1.jpg, issue ivy 2.jpg, issue ivy 3.jpg, issue ivy 4.jpg
>
>
> My ivy-settings.xml is hosted in a webserver. The URL is http://vulcan/ivy-settings.xml.
I can use that URL in the Ivyde preferences, and it works fine. But I want to use a environment
variable for the URL, so I can reference it in my ant scripts.  I tried defining a variable
ivy_settings_xml_path, and use it as the Ivy Settings path. But it fails to understand that's
an url, and give this error.
> Some projects fail to be resolved
> Failed to configure Ivy for ivy.xml[default] in ECO2Error while resolving the ivy instance
for ivy.xml[default] in 'ECO2':
>   The Ivy settings file 'file:/C:/eclipse-kepler/http:/vulcan/ivy-settings.xml' cannot
be found.
>  I think this is an error, but it should be easy to fix.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message