[ https://issues.apache.org/jira/browse/IVY-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Scokart resolved IVY-89. ------------------------------- Resolution: Fixed The relative path to include properties are now evaluated relatively to the current settings file. To mention in the release note : THIS MAY HAVE AN IMPACT ON THE BUGY SCRIPT THAT WERE USING RELATIVE PATH BEFORE. > properties tag in ivy conf do not support relative path > ------------------------------------------------------- > > Key: IVY-89 > URL: https://issues.apache.org/jira/browse/IVY-89 > Project: Ivy > Issue Type: Bug > Environment: eclipse 3.1 jdk 1.4.2 > Reporter: HB > Assignee: Gilles Scokart > Fix For: 2.0-RC1 > > > If in the ivyconf I put a tag > <properties file="./src/build.properties" /> > it do not work , I get: > java.text.ParseException: failed to configure with > file:/C:/javadev/src/Hermes/ivyconf.xml: problem in config file > at > fr.jayasoft.ivy.xml.XmlIvyConfigurationParser.parse(XmlIvyConfigurationParser.java:65) > at fr.jayasoft.ivy.Ivy.configure(Ivy.java:259) > at > au.id.oneill.necessitas.core.providers.IvyLibraryProvider.createIvy(IvyLibraryProvider.java:218) > at > au.id.oneill.necessitas.core.providers.IvyLibraryProvider.processDependencies(IvyLibraryProvider.java:148) > at > au.id.oneill.necessitas.core.providers.IvyLibraryProvider.updateAvailableVersions(IvyLibraryProvider.java:86) > at > au.id.oneill.necessitas.ui.NecessitasContainerPage$12.run(NecessitasContainerPage.java:438) > at > au.id.oneill.necessitas.ui.NecessitasContainerPage$13.run(NecessitasContainerPage.java:464) > at > org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) > Caused by: java.net.MalformedURLException: no protocol: ./src/build.properties > at > fr.jayasoft.ivy.xml.XmlIvyConfigurationParser.startElement(XmlIvyConfigurationParser.java:140) > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674) > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) > at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) > at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) > at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:143) > at > fr.jayasoft.ivy.xml.XmlIvyConfigurationParser.parse(XmlIvyConfigurationParser.java:59) > ... 7 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.