ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <>
Subject [jira] Commented: (IVYDE-92) Built-in ivyconf include produce an error
Date Mon, 11 Aug 2008 17:52:44 GMT


Nicolas Lalevée commented on IVYDE-92:

Actually the displayed failing path is the last kind of path tried but failed and the path
that should work is a bundle://... 
I tried to reproduce the bug with a very minimalist configuration, and I saw no bug:

Can you still reproduce your bug ?
Could you "svn co" the above project and import it in your Eclipse, and tell me if the resolve
produce errors ?
And which version of Ivy you are running on in Eclipse ? (you can see it in the IvyDE's global
configuration pane)

> Built-in ivyconf include produce an error
> -----------------------------------------
>                 Key: IVYDE-92
>                 URL:
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.alpha1
>         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 fil{color}e{color}:/[...]/ivyconf.xml to configure Ivy
> java.text.ParseException: failed to load settings from fil{color}e{color}:/[...]/ivyconf.xml:
io problem while parsing config file: /org/apache/ivy/core/settings/ivyconf-public.xml
> at org.apache.ivy.core.settings.XmlSettingsParser.doParse(
> at org.apache.ivy.core.settings.XmlSettingsParser.parse(
> at org.apache.ivy.core.settings.IvySettings.load(
> at org.apache.ivy.Ivy.configure(
> at org.apache.ivyde.eclipse.IvyPlugin.getIvy(
> at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer$IvyResolveJob.<init>(
> at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.computeClasspathEntries(
> at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.scheduleResolve(
> at
> [blah blah eclipse stacktrace]
> Caused by: java.text.ParseException: failed to load settings from fil{color}e{color}:/[...]/ivyconf.xml:
io problem while parsing config file: /org/apache/ivy/core/settings/ivyconf-public.xml
> at org.apache.ivy.core.settings.XmlSettingsParser.startElement(
> at
> at
> at
> at$FragmentContentDispatcher.dispatch(
> at
> at
> at
> at
> at
> at javax.xml.parsers.SAXParser.parse(
> at javax.xml.parsers.SAXParser.parse(
> at org.apache.ivy.core.settings.XmlSettingsParser.doParse(
> 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:fil{color}e{color}://[...]/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.

View raw message