ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] Resolved: (IVYDE-92) Built-in ivyconf include produce an error
Date Mon, 10 Nov 2008 12:32:45 GMT

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

Nicolas Lalevée resolved IVYDE-92.
----------------------------------

    Resolution: Cannot Reproduce

No news and I couldn't reproduced it, so closing it.
Please reopen if you still have issues.

> 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.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(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)
> [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(XmlSettingsParser.java:170)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
> at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:255)
> at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:103)
> 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.


Mime
View raw message