[
https://issues.apache.org/jira/browse/IVY-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jamie burns updated IVY-573:
----------------------------
Attachment: ivyconf-properties-relative-to-ivyconf.xml.patch.txt
ivyconf file for test case
> Ivy causes IveDE to fail where a properties file is relative to ivyconf.xml
> ---------------------------------------------------------------------------
>
> Key: IVY-573
> URL: https://issues.apache.org/jira/browse/IVY-573
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.4.1
> Environment: Eclipse 3.2, IvyDE 1.2.0, Ivy 1.4.1, Windows XP, Java
> 1.5.0_10
> Reporter: jamie burns
> Attachments: ivyconf-properties-relative-to-ivyconf.xml.patch.txt,
> XmlIvyConfigurationParser.java.patch.txt,
> XmlIvyConfigurationParserTest.java.patch.txt
>
>
> The issue manifests in IvyDE but lve confirmed it to be an Ivy issue. IvyDE
> fails to create a classpath container where ivyconf.xml has to resolve a
> properties file that is relative to ivyconf.xml. This occurs because Ivy only
> tries to resolve the properties file in the current directory. In the case of
> Eclipse+IvyDE the current directory is the eclipse.exe directory. So the
> following ivyconf.xml will cause IvyDE to fail.
> <ivyconf>
> ...
> <properties file="local.properties" ... />
> ...
> </ivyconf>
> (This will not fail if build.properties is in the same directory as
> eclipse.exe)
> I have created a patch which l hope l can attach to this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.