You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Dave Lawson (JIRA)" <ji...@apache.org> on 2015/11/09 19:02:10 UTC
[jira] [Commented] (IVYDE-275) Unable to find ivysettings.xml if
there are spaces in the path
[ https://issues.apache.org/jira/browse/IVYDE-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997017#comment-14997017 ]
Dave Lawson commented on IVYDE-275:
-----------------------------------
I'm unable to use spaces in my ivysettings.xml as well. IvyDE version 2.2.0-final.
> Unable to find ivysettings.xml if there are spaces in the path
> --------------------------------------------------------------
>
> Key: IVYDE-275
> URL: https://issues.apache.org/jira/browse/IVYDE-275
> 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: 2.2.0.beta1
>
>
> 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(IvyClasspathContainerState.java:216)
> at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.doGetIvy(IvyClasspathContainerState.java:185)
> at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.getIvy(IvyClasspathContainerState.java:136)
> at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.run(IvyResolveJob.java:69)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)