You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "james robert burns (JIRA)" <ji...@apache.org> on 2007/07/17 05:22:04 UTC
[jira] Created: (IVY-573) Ivy causes IveDE to fail where a
properties file is relative to ivyconf.xml
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: james robert burns
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.
[jira] Updated: (IVY-573) Ivy causes IveDE to fail where a
properties file is relative to ivyconf.xml
Posted by "jamie burns (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (IVY-573) Ivy causes IveDE to fail where a
properties file is relative to ivyconf.xml
Posted by "james robert burns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
james robert burns updated IVY-573:
-----------------------------------
Attachment: XmlIvyConfigurationParserTest.java.patch.txt
patch for ivy-1.4.1
> 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: james robert burns
> Attachments: 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.
[jira] Updated: (IVY-573) Ivy causes IveDE to fail where a
properties file is relative to ivyconf.xml
Posted by "james robert burns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
james robert burns updated IVY-573:
-----------------------------------
Attachment: XmlIvyConfigurationParser.java.patch.txt
patch to ivy-1.4.1
> 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: james robert burns
> Attachments: 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.