You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jon Schneider (JIRA)" <ji...@apache.org> on 2009/07/22 14:47:14 UTC

[jira] Updated: (IVYDE-191) "Ivy Settings Path" Browse button results in an incorrectly formatted URL

     [ https://issues.apache.org/jira/browse/IVYDE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Schneider updated IVYDE-191:
--------------------------------

    Attachment: SettingsEditorPatch.txt

The text box was being set as follows:

settingsText.setText(f.toURL().toExternalForm());

toURL() is deprecated on File for J2SE 1.5 + anyway -- changing to

settingsText.setText(f.toURI().toURL().toExternalForm());

fixes the issue.  Patch for SettingsEditor attached.

> "Ivy Settings Path" Browse button results in an incorrectly formatted URL
> -------------------------------------------------------------------------
>
>                 Key: IVYDE-191
>                 URL: https://issues.apache.org/jira/browse/IVYDE-191
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.0.0.final
>            Reporter: Jon Schneider
>            Priority: Minor
>         Attachments: SettingsEditorPatch.txt
>
>
> "Ivy Settings Path" Browse button results in an incorrectly formatted URL string when you select a Windows network resource on the "Settings" preference page (e.g. file://istoolsrv1/Repository/ivy/ivysettings.xml when the correct URL is file:////istoolsrv1/Repository/ivy/ivysettings.xml).  It is missing two forward slashes on the front of the URL.

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