Built-in ivyconf include produce an error
-----------------------------------------

                 Key: IVYDE-92
                 URL: https://issues.apache.org/jira/browse/IVYDE-92
             Project: IvyDE
          Issue Type: Bug
          Components: classpath container
    Affects Versions: 2.0.0
         Environment: Linux Ubuntu 8.04 LTS
Eclipse 3.2.2
            Reporter: François Guerry


When including a built-in ivyconf file in a custom ivyconf file, for example :
<include url="${ivy.default.conf.dir}/ivyconf-public.xml"/>

it produces an error at resolve time, and make the global resolve process fail.

This inclusion feature was working fine in IvyDe version 1.2.0

Error copy :

Problem occured while using file:/[...]/ivyconf.xml to configure Ivy

java.text.ParseException: failed to load settings from file:/[...]/ivyconf.xml: 
io problem while parsing config file: 
/org/apache/ivy/core/settings/ivyconf-public.xml
at 
org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:107)
at 
org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:93)
at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:367)
at org.apache.ivy.Ivy.configure(Ivy.java:413)
at org.apache.ivyde.eclipse.IvyPlugin.getIvy(IvyPlugin.java:368)
at 
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer$IvyResolveJob.<init>(IvyClasspathContainer.java:115)
at 
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.computeClasspathEntries(IvyClasspathContainer.java:688)
at 
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.scheduleResolve(IvyClasspathContainer.java:710)
at org.apache.ivyde.eclipse.ui.actions.ResolveAction.run(ResolveAction.java:37)

Visibly, the problem is that the inclusion instruction is translated in a wrong 
path, for my case I obtained :
file: /org/apache/ivy/core/settings/ivyconf-public.xml
instead of something like :
jar:file://[.../ivy.jar]!/org/apache/ivy/core/settings/ivyconf-public.xml



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

Reply via email to