ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <>
Subject [jira] [Resolved] (IVYDE-275) Unable to find ivysettings.xml if there are spaces in the path
Date Sat, 26 Mar 2011 14:03:05 GMT


Nicolas Lalevée resolved IVYDE-275.

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Nicolas Lalevée

The piece of code handling that have been rewritten to better deal with urls. I have tried
to reproduce it with the trunk version, it works.

> Unable to find ivysettings.xml if there are spaces in the path
> --------------------------------------------------------------
>                 Key: IVYDE-275
>                 URL:
>             Project: IvyDE
>          Issue Type: Bug
>          Components: workspace resolver
>    Affects Versions: 2.1.0
>         Environment: Eclipse 3.5.2/Windows XP
>            Reporter: Steve Nester
>            Assignee: Nicolas Lalevée
>            Priority: Minor
>             Fix For: trunk
> When Trigger Refresh is run at Eclipse startup, the plugin was unable to find my ivysettings.xml
file because my Eclipse workspace was placed in a subdirectory of C:\Documents and Settings.
> The File passed to getIvy() needs to be unescaped to remove the '%20' strings used when
the file path was represented as a url in order for File.exists() to return true.
> Here is the trace:
> org.apache.ivyde.eclipse.IvyDEException: Error while resolving the ivy instance for ant/ivy.xml
in 'build-tools':
>   The Ivy settings file 'file:/C:/Documents%20and%20Settings/snester/workspace-cds/build-tools/ant/ivysettings.xml'
cannot be found
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.getIvy(
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.doGetIvy(
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.getIvy(
> 	at
> 	at

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message